Permalink
Browse files

remove feature duplicated in rspec-core

  • Loading branch information...
1 parent d1566d4 commit 8310b17b8f491db14f3fba0884d51c0059079dcd @dchelimsky dchelimsky committed Dec 20, 2010
Showing with 0 additions and 19 deletions.
  1. +0 −19 features/expectations/attribute_of_subject.feature
@@ -1,19 +0,0 @@
-Feature: attribute of subject
-
- In order to get more meaningful failure messages
- As a spec author
- I want RSpec to tell me what attribute a matcher applies
- to when using the its(:attribute) technique
-
- Scenario: eq matcher fails
- Given a file named "example_spec.rb" with:
- """
- describe "an array" do
- subject { [] }
- its(:size) { should eq(1) } # intentionally fail
- end
- """
-
- When I run "rspec example_spec.rb -fdoc"
- Then the output should contain "Failure/Error: its(:size) { should eq(1) }"
- And the output should contain "expected 1"

0 comments on commit 8310b17

Please sign in to comment.