Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor doc fixes

- Closes #298.
  • Loading branch information...
commit c389b0c4dcbafa34f3f5b0f5b1cbc7411fd86f15 1 parent 0f9deff
@joliss joliss authored dchelimsky committed
View
10 features/command_line/line_number_option.feature
@@ -1,8 +1,8 @@
-Feature: --line option
+Feature: --line_number option
- To run a single example or group, you can use the --line option:
+ To run a single example or group, you can use the --line_number option:
- rspec path/to/example_spec.rb --line 37
+ rspec path/to/example_spec.rb --line_number 37
Scenario: standard examples
Given a file named "example_spec.rb" with:
@@ -21,7 +21,7 @@ Feature: --line option
end
"""
- When I run "rspec example_spec.rb --line 5 --format doc"
+ When I run "rspec example_spec.rb --line_number 5 --format doc"
Then the examples should all pass
Then the output should contain "should be > 8"
But the output should not contain "should be < 10"
@@ -39,7 +39,7 @@ Feature: --line option
end
"""
- When I run "rspec example_spec.rb --line 5 --format doc"
+ When I run "rspec example_spec.rb --line_number 5 --format doc"
Then the examples should all pass
Then the output should contain "should be > 8"
But the output should not contain "should be < 10"
View
4 features/configuration/fail_fast.feature
@@ -1,8 +1,8 @@
Feature: fail fast
- Use the fail_fast option to tell RSpec to abort the run on first failure.
+ Use the fail_fast option to tell RSpec to abort the run on first failure:
- RSpec.configure {|c| c.fail_fast = true}
+ RSpec.configure {|c| c.fail_fast = true}
Background:
Given a file named "spec/spec_helper.rb" with:
View
4 features/expectation_framework_integration/configure_expectation_framework.feature
@@ -5,8 +5,8 @@ Feature: configure expectation framework
* rspec/expectations (explicitly)
* stdlib assertions
- ** test/unit assertions in ruby 1.8
- ** minitest assertions in ruby 1.9
+ * test/unit assertions in ruby 1.8
+ * minitest assertions in ruby 1.9
* rspec/expecations _and_ stlib assertions
Scenario: configure rspec-expectations (explicitly)
Please sign in to comment.
Something went wrong with that request. Please try again.