Browse files

update pending feature

  • Loading branch information...
1 parent b585c73 commit 928c2585ad5589358cda30b2c5f23082346e1954 @dchelimsky dchelimsky committed Jan 25, 2010
View
11 features-pending/command_line/line_number_option_with_example_with_no_name.feature
@@ -1,12 +1,15 @@
-Feature: Spec and test together
+Feature: line number option with one liner example
- As an RSpec user
+ As an Rspec user
I want to run one example identified by the line number
Background:
- Given a file named "example.rb" with:
+ Given a file named "example_spec.rb" with:
"""
+ require 'rspec/expectations'
+
describe 9 do
+ include Rspec::Matchers
it { should be > 8 }
@@ -16,7 +19,7 @@ Feature: Spec and test together
"""
Scenario: two examples - first example on declaration line
- When I run "spec example.rb:3 --format nested"
+ When I run "spec example_spec.rb:3 --format doc"
Then the stdout should match "1 example, 0 failures"
Then the stdout should match "should be > 8"
But the stdout should not match "should be < 10"

0 comments on commit 928c258

Please sign in to comment.