Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubOboza committed Apr 13, 2012
1 parent 7859612 commit 9f30424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lspec/extensions.rb
Expand Up @@ -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.