Permalink
Browse files

Merge pull request #6 from JakubOboza/patch-1

fixed typo
  • Loading branch information...
lucassus committed Apr 13, 2012
2 parents 7859612 + 9f30424 commit 17ee432fa72633d5f4e41a320bc40b1f9e538612
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/lspec/extensions.rb
View
@@ -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 17ee432

Please sign in to comment.