Skip to content

Instantly share code, notes, and snippets.

@bmabey
Created March 6, 2009 20:33
Show Gist options
  • Save bmabey/75059 to your computer and use it in GitHub Desktop.
Save bmabey/75059 to your computer and use it in GitHub Desktop.
1)
'Cucumber::Mate::Files::FeatureFile#steps_starting_with when 1 matching string step definition exists should return the step definition' FAILED
expected: 1,
got: 0 (using ==)
./spec/cucumber/mate/files/feature_file_spec.rb:135:
2)
'Cucumber::Mate::Files::FeatureFile#steps_starting_with when 1 matching regex step definition exists should return the step definition' FAILED
expected: 1,
got: 0 (using ==)
./spec/cucumber/mate/files/feature_file_spec.rb:145:
3)
'Cucumber::Mate::Files::FeatureFile#steps_starting_with when multiple matching step definitions exists should return the step definition' FAILED
expected: 2,
got: 0 (using ==)
./spec/cucumber/mate/files/feature_file_spec.rb:155:
4)
'Cucumber::Mate::Files::StepsFile#new_steps_line_number when the steps_for line is not at the top should return the line after steps_for' FAILED
expected: 7,
got: 2 (using ==)
./spec/cucumber/mate/files/steps_file_spec.rb:59:
5)
'Cucumber::Mate::Files::StepsFile#step_definitions should return a list of step definitions included in this file' FAILED
expected: [{:type=>"Given", :pattern=>"Basic step (given)", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>1, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"Given", :pattern=>"another basic step", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>5, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"Given", :pattern=>/Basic regexp (.*)/, :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>9, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"When", :pattern=>"Basic when", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>13, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"Then", :pattern=>"Basic then", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>17, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}],
got: [{:type=>"Given", :pattern=>"Basic step (given)", :pattern_text=>"Basic step (given)", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>1, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"Given", :pattern=>"another basic step", :pattern_text=>"another basic step", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>5, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"Given", :pattern=>/Basic regexp (.*)/, :pattern_text=>"Basic regexp (.*)", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>9, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"When", :pattern=>"Basic when", :pattern_text=>"Basic when", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>13, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}, {:type=>"Then", :pattern=>"Basic then", :pattern_text=>"Basic then", :step=>#<Spec::Mocks::Mock:0x8dbbd4 @name="step">, :line=>17, :group_tag=>"basic", :file_path=>"/Users/bmabey/Programming/cucumber-tmbundle/Support/fixtures/features/step_definitions/basic_steps.rb"}] (using ==)
./spec/cucumber/mate/files/steps_file_spec.rb:90:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment