features/step_definitions/notifications_steps.rb in wally-0.0.19 vs features/step_definitions/notifications_steps.rb in wally-0.0.20
- old
+ new
@@ -1,10 +1,10 @@
Given /^a feature file with (\d+) @wip tags$/ do |wip_tag_count|
contents = "Feature: Feature 1\n"
1.upto(wip_tag_count.to_i) do |number|
contents += "@wip\nScenario: Scenario #{number}\n"
end
- create_feature_file("sample1.feature", contents)
+ create_feature("sample1.feature", contents)
end
Then /^I should see a notification that says "([^"]*)"$/ do |text|
page.should have_content text
end