Skip to content

Commit

Permalink
Add scenario for rspec-instafail.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Feb 7, 2014
1 parent 01b1299 commit b938935
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/formatters/regression_tests.feature
Expand Up @@ -44,6 +44,12 @@ Feature: Regression tests for legacy custom formatters
And the output should contain "6 examples, 3 failures, 1 pending"
But the output should not contain any error backtraces

Scenario: Use rspec-instafail formatter
When I run `rspec --format RSpec::Instafail`
Then the output should contain "6 examples, 3 failures, 1 pending"
And the output should contain "The RSpec::Instafail formatter uses the deprecated formatter interface"
But the output should not contain any error backtraces

@wip @announce
Scenario: Use nyancat formatter
When I run `rspec --format NyanCatFormatter`
Expand Down
1 change: 1 addition & 0 deletions rspec-core.gemspec
Expand Up @@ -53,4 +53,5 @@ Gem::Specification.new do |s|
# For legacy custom formatter regression tests
s.add_development_dependency "fuubar", "1.3.2"
s.add_development_dependency "nyan-cat-formatter", "0.5.2"
s.add_development_dependency "rspec-instafail", "0.2.4"
end

0 comments on commit b938935

Please sign in to comment.