spec/cukeforker/scenarios_spec.rb in cukeforker-1.1.0 vs spec/cukeforker/scenarios_spec.rb in cukeforker-2.1.1

- old
+ new

@@ -56,11 +56,11 @@ @me_too Scenario: test scenario 2 Given nothing else happens GHERKIN - all_scenarios = Scenarios.by_args(%W[-t @find_me,@me_too]) + all_scenarios = Scenarios.by_args(["-t @find_me or @me_too"]) all_scenarios.length.should == 2 all_scenarios[0].should == "features/test1.feature:3" all_scenarios[1].should == "features/test1.feature:7" end @@ -76,11 +76,11 @@ @me_too Scenario: test scenario 2 Given nothing else happens GHERKIN - all_scenarios = Scenarios.by_args(%W[-t @find_me -t @me_too]) + all_scenarios = Scenarios.by_args(["-t @find_me and @me_too"]) all_scenarios.length.should == 1 all_scenarios[0].should == "features/test1.feature:3" end @@ -95,10 +95,10 @@ @me_too Scenario: test scenario 2 Given nothing else happens GHERKIN - all_scenarios = Scenarios.by_args(%W[-t ~@find_me]) + all_scenarios = Scenarios.by_args(["-t not @find_me"]) all_scenarios.length.should == 1 all_scenarios[0].should == "features/test1.feature:7" end end