diff options
| author | hukl <contact@smyck.org> | 2009-04-28 00:15:53 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-05-01 17:14:02 +0200 |
| commit | 4bd16f053847f2efe347ebda9136ef2233ee0d2c (patch) | |
| tree | f4c11f89455de991c8d87726d5757b752e7129e2 /vendor/plugins/thinking-sphinx/features/a.rb | |
| parent | d3a9b46ba5c863a0ff377dcffae9a494fe476e02 (diff) | |
added thinking_sphinx plugin for fulltext search on nodes and heads
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/a.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/a.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/a.rb b/vendor/plugins/thinking-sphinx/features/a.rb new file mode 100644 index 0000000..9f5a14e --- /dev/null +++ b/vendor/plugins/thinking-sphinx/features/a.rb | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # This file exists because Cucumber likes to auto-load all ruby files | ||
| 2 | puts <<-MESSAGE | ||
| 3 | Cucumber 0.1.12 defaults to loading all ruby files within the features folder | ||
| 4 | alphabetically. This is annoying, because some files need to be loaded before | ||
| 5 | others (and others perhaps not at all, given missing dependencies). Hence this | ||
| 6 | place-holder imaginatively named 'a.rb', to force this message. | ||
| 7 | |||
| 8 | A work-around is to use cucumber profiles. You will find the default profile in | ||
| 9 | cucumber.yml should serve your needs fine, unless you add new step definitions. | ||
| 10 | When you do that, you can regenerate the YAML file by running: | ||
| 11 | rake cucumber_defaults | ||
| 12 | |||
| 13 | And then run specific features as follows is slightly more verbose, but it | ||
| 14 | works, whereas this doesn't. | ||
| 15 | cucumber -p default features/something.feature | ||
| 16 | MESSAGE | ||
| 17 | exit 0 \ No newline at end of file | ||
