Skip to content
Browse files

fixed typo

  • Loading branch information...
1 parent 7859612 commit 9f304245ea1f56b573aefe2fd71d4a1c392f8915 @JakubOboza committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/lspec/extensions.rb
View
4 lib/lspec/extensions.rb
@@ -5,8 +5,8 @@ def describe(desc_or_class, &block)
end
class Object
- def should(mather = nil)
+ def should(matcher = nil)
assertion = LSpec::DelayedAssertion.new(self)
- mather.nil? ? assertion : assertion.check_against(mather)
+ matcher.nil? ? assertion : assertion.check_against(matcher)
end
end

0 comments on commit 9f30424

Please sign in to comment.
Something went wrong with that request. Please try again.