From 4bd16f053847f2efe347ebda9136ef2233ee0d2c Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 28 Apr 2009 00:15:53 +0200 Subject: added thinking_sphinx plugin for fulltext search on nodes and heads --- vendor/plugins/thinking-sphinx/features/a.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vendor/plugins/thinking-sphinx/features/a.rb (limited to 'vendor/plugins/thinking-sphinx/features/a.rb') 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 @@ +# This file exists because Cucumber likes to auto-load all ruby files +puts <<-MESSAGE +Cucumber 0.1.12 defaults to loading all ruby files within the features folder +alphabetically. This is annoying, because some files need to be loaded before +others (and others perhaps not at all, given missing dependencies). Hence this +place-holder imaginatively named 'a.rb', to force this message. + +A work-around is to use cucumber profiles. You will find the default profile in +cucumber.yml should serve your needs fine, unless you add new step definitions. +When you do that, you can regenerate the YAML file by running: +rake cucumber_defaults + +And then run specific features as follows is slightly more verbose, but it +works, whereas this doesn't. +cucumber -p default features/something.feature +MESSAGE +exit 0 \ No newline at end of file -- cgit v1.3