Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove feature that won't be supported in rspec-2

  • Loading branch information...
commit e3806a8a17950e0125f31db3c46581278c5903e4 1 parent d52de8d
@dchelimsky dchelimsky authored
View
31 features-pending/example_groups/example_group_with_should_methods.feature
@@ -1,31 +0,0 @@
-Feature: Spec::ExampleGroup with should methods
-
- As an RSpec adopter accustomed to classes and methods
- I want to use should_* methods in an ExampleGroup
- So that I use RSpec with classes and methods that look more like RSpec examples
-
- Scenario Outline: Example Group class with should methods
- Given a file named "example_group_with_should_methods.rb" with:
- """
- require 'rspec/autorun'
- require 'rspec/expectations'
- Rspec::Core::ExampleGroup.send(:include, Rspec::Matchers)
-
- class MySpec < Rspec::Core::ExampleGroup
- def should_pass_with_should
- 1.should == 1
- end
-
- def should_fail_with_should
- 1.should == 2
- end
- end
- """
- When I run "<Command> example_group_with_should_methods.rb"
- Then the exit code should be 256
- And the stdout should match "2 examples, 1 failure"
-
- Scenarios: Run with ruby and spec
- | Command |
- | ruby |
- | spec |
Please sign in to comment.
Something went wrong with that request. Please try again.