Skip to content
Browse files

--format documentation

  • Loading branch information...
1 parent 7326273 commit 35d16a739e9ec284a3f9648abdec58451d7f7d61 @dchelimsky dchelimsky committed Mar 22, 2010
View
2 features/expectations/customized_message.feature
@@ -45,7 +45,7 @@ Feature: customized message
end
"""
- When I run "rspec node_spec.rb --format n"
+ When I run "rspec node_spec.rb --format documentation"
Then I should see "3 examples, 3 failures"
And I should not see "to return true, got false"
And I should not see "to return false, got true"
View
8 features/matchers/define_matcher.feature
@@ -34,7 +34,7 @@ Feature: define matcher
end
"""
- When I run "rspec matcher_with_default_message_spec.rb --format specdoc"
+ When I run "rspec matcher_with_default_message_spec.rb --format documentation"
Then the exit status should not be 0
And I should see "should be a multiple of 3"
@@ -116,7 +116,7 @@ Feature: define matcher
it {should_not be_a_multiple_of(4)}
end
"""
- When I run "rspec matcher_overriding_description_spec.rb --format specdoc"
+ When I run "rspec matcher_overriding_description_spec.rb --format documentation"
Then the exit status should be 0
And the stdout should contain "2 examples, 0 failures"
And the stdout should contain "should be multiple of 3"
@@ -141,7 +141,7 @@ Feature: define matcher
it {should have_7_fingers}
end
"""
- When I run "rspec matcher_with_no_args_spec.rb --format specdoc"
+ When I run "rspec matcher_with_no_args_spec.rb --format documentation"
Then the exit status should be 0
And the stdout should contain "1 example, 0 failures"
And the stdout should contain "should have 7 fingers"
@@ -161,7 +161,7 @@ Feature: define matcher
it {should be_the_sum_of(1,2,3,4)}
end
"""
- When I run "rspec matcher_with_multiple_args_spec.rb --format specdoc"
+ When I run "rspec matcher_with_multiple_args_spec.rb --format documentation"
Then the exit status should be 0
And the stdout should contain "1 example, 0 failures"
And the stdout should contain "should be the sum of 1, 2, 3, and 4"
View
2 features/matchers/define_matcher_with_fluent_interface.feature
@@ -22,6 +22,6 @@ Feature: define matcher
it { should be_bigger_than(4).but_smaller_than(6) }
end
"""
- When I run "rspec between_spec.rb --format specdoc"
+ When I run "rspec between_spec.rb --format documentation"
Then I should see "1 example, 0 failures"
And I should see "should be bigger than 4"
View
2 rspec-expectations.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["David Chelimsky", "Chad Humphries"]
- s.date = %q{2010-03-15}
+ s.date = %q{2010-03-22}
s.description = %q{rspec expectations (should[_not] and matchers)}
s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
s.extra_rdoc_files = [

0 comments on commit 35d16a7

Please sign in to comment.
Something went wrong with that request. Please try again.