Skip to content

Commit

Permalink
do not assume the user has the default progress formatter in its conf…
Browse files Browse the repository at this point in the history
…iguration
  • Loading branch information
eregon committed Apr 20, 2012
1 parent 346f71c commit 675e060
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion features/command_line/format_option.feature
Expand Up @@ -46,7 +46,7 @@ Feature: --format option
"""

Scenario: progress bar format (default)
When I run `rspec example_spec.rb`
When I run `rspec --format progress example_spec.rb`
Then the output should contain ".F*"

Scenario: documentation format
Expand Down
2 changes: 1 addition & 1 deletion features/hooks/around_hooks.feature
Expand Up @@ -165,7 +165,7 @@ Feature: around hooks
end
end
"""
When I run `rspec example_spec.rb`
When I run `rspec --format progress example_spec.rb`
Then the output should contain:
"""
before all
Expand Down
10 changes: 5 additions & 5 deletions features/hooks/before_and_after_hooks.feature
Expand Up @@ -227,7 +227,7 @@ Feature: before and after hooks
end
end
"""
When I run `rspec ensure_block_order_spec.rb`
When I run `rspec --format progress ensure_block_order_spec.rb`
Then the output should contain:
"""
before all
Expand Down Expand Up @@ -272,7 +272,7 @@ Feature: before and after hooks
end
end
"""
When I run `rspec configuration_spec.rb`
When I run `rspec --format progress configuration_spec.rb`
Then the output should contain:
"""
before suite
Expand Down Expand Up @@ -313,7 +313,7 @@ Feature: before and after hooks
end
"""
When I run `rspec before_and_after_all_spec.rb`
When I run `rspec --format progress before_and_after_all_spec.rb`
Then the examples should all pass
And the output should contain:
"""
Expand All @@ -323,7 +323,7 @@ Feature: before and after hooks
outer after all
"""

When I run `rspec before_and_after_all_spec.rb:14`
When I run `rspec --format progress before_and_after_all_spec.rb:14`
Then the examples should all pass
And the output should contain:
"""
Expand All @@ -333,7 +333,7 @@ Feature: before and after hooks
outer after all
"""

When I run `rspec before_and_after_all_spec.rb:6`
When I run `rspec --format progress before_and_after_all_spec.rb:6`
Then the examples should all pass
And the output should contain:
"""
Expand Down
4 changes: 2 additions & 2 deletions features/hooks/filtering.feature
Expand Up @@ -182,7 +182,7 @@ Feature: filters
end
end
"""
When I run `rspec filter_after_all_hooks_spec.rb`
When I run `rspec --format progress filter_after_all_hooks_spec.rb`
Then the examples should all pass
And the output should contain:
"""
Expand Down Expand Up @@ -216,7 +216,7 @@ Feature: filters
it("", :around_each) { puts "example 4" }
end
"""
When I run `rspec less_verbose_metadata_filter.rb`
When I run `rspec --format progress less_verbose_metadata_filter.rb`
Then the examples should all pass
And the output should contain:
"""
Expand Down

0 comments on commit 675e060

Please sign in to comment.