features/rake_task.feature in aslakhellesoy-cucumber-0.3.11.6 vs features/rake_task.feature in aslakhellesoy-cucumber-0.3.11.200907091518
- old
+ new
@@ -146,5 +146,33 @@
Then it should pass
And the output should not contain
"""
* features/support/dont_require_me.rb
"""
+
+ Scenario: feature files with spaces
+ Given a file named "features/spaces are nasty.feature" with:
+ """
+ Feature: The futures green
+
+ Scenario: Orange
+ Given this is missing
+ """
+ And a file named "Rakefile" with:
+ """
+ $LOAD_PATH.unshift(CUCUMBER_LIB)
+ require 'cucumber/rake/task'
+
+ Cucumber::Rake::Task.new(:features) do |t|
+ t.cucumber_opts = %w{--quiet --no-color}
+ end
+ """
+ When I run rake features
+ Then it should pass
+ And the output should contain
+ """
+ Feature: The futures green
+
+ Scenario: Orange
+ Given this is missing
+
+ """
\ No newline at end of file