Skip to content

Commit

Permalink
Pass a hash to describe now that that is properly supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
myronmarston committed Mar 17, 2014
1 parent 5470fed commit bb713ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions features/built_in_matchers/include.feature
Expand Up @@ -89,9 +89,7 @@ Feature: include matcher
Scenario: hash usage
Given a file named "hash_include_matcher_spec.rb" with:
"""ruby
RSpec.describe Hash do
subject { { :a => 7, :b => 5 } }
RSpec.describe :a => 7, :b => 5 do
it { is_expected.to include(:a) }
it { is_expected.to include(:b, :a) }
it { is_expected.to include(:a => 7) }
Expand Down

0 comments on commit bb713ed

Please sign in to comment.