diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/support/z.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/support/z.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/support/z.rb b/vendor/plugins/thinking-sphinx/features/support/z.rb deleted file mode 100644 index e7ad8b3..0000000 --- a/vendor/plugins/thinking-sphinx/features/support/z.rb +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | # This file exists because Cucumber likes to auto-load all ruby files | ||
| 2 | puts <<-MESSAGE | ||
| 3 | Cucumber 0.1.13 defaults to loading all ruby files within the features folder, | ||
| 4 | with something approaching reverse-alphabetical order, and preferring the | ||
| 5 | features/support folder over everything else. This is annoying, because some | ||
| 6 | files need to be loaded before others (and others perhaps not at all, given | ||
| 7 | missing dependencies). Hence this place-holder imaginatively named 'z.rb', to | ||
| 8 | force this message. | ||
| 9 | |||
| 10 | A work-around is to use cucumber profiles. You will find the default profile in | ||
| 11 | cucumber.yml should serve your needs fine, unless you add new step definitions. | ||
| 12 | When you do that, you can regenerate the YAML file by running: | ||
| 13 | rake cucumber_defaults | ||
| 14 | |||
| 15 | And then run specific features as follows is slightly more verbose, but it | ||
| 16 | works, whereas this doesn't. | ||
| 17 | cucumber -p default features/something.feature | ||
| 18 | MESSAGE | ||
| 19 | exit 0 \ No newline at end of file | ||
