Skip to content

Commit

Permalink
Fix typos in IncludesTest test names
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Oct 16, 2024
1 parent c4bd4af commit 6fb5a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/parameter_matchers/includes_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_should_describe_matcher_with_multiple_items
assert_equal 'includes(:x, :y, :z)', matcher.mocha_inspect
end

def test_should_not_raise_error_on_emtpy_arguments
def test_should_not_raise_error_on_empty_arguments
matcher = includes(:x)
assert_nothing_raised { matcher.matches?([]) }
end
Expand Down Expand Up @@ -99,7 +99,7 @@ def test_should_match_hash_when_nested_matcher_matches_key
assert matcher.matches?([{ 'foo' => 1, 'bar' => 2 }])
end

def test_should_not_match_hash_when_nested_matcher_doesn_not_match_key
def test_should_not_match_hash_when_nested_matcher_does_not_match_key
matcher = includes(regexp_matches(/az/))
assert !matcher.matches?([{ 'foo' => 1, 'bar' => 2 }])
end
Expand Down

0 comments on commit 6fb5a5a

Please sign in to comment.