Skip to content

Commit

Permalink
removing another warning
Browse files Browse the repository at this point in the history
git-svn-id: http://expectations.rubyforge.org/svn/trunk@61 6f265639-962f-4d85-a13b-3090ac0aa348
  • Loading branch information
jaycfields committed Mar 28, 2008
1 parent 4741540 commit 1fe56ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/expectations/state_based_expectation.rb
Expand Up @@ -2,7 +2,7 @@ module Expectations::StateBasedExpectation
def execute
begin
mocha_setup
self.actual = instance_eval &block
self.actual = instance_eval(&block)
return self.extend(Expectations::Results::Fulfilled) if expected.expectations_equal_to(actual)
rescue Exception => ex
return self.extend(Expectations::Results::Fulfilled) if expected == ex.class
Expand Down
2 changes: 1 addition & 1 deletion rakefile.rb
Expand Up @@ -46,7 +46,7 @@
expect NoMethodError do
Object.invalid_method_call
end."
s.version = "0.2.3"
s.version = "0.2.4"
s.author = 'Jay Fields'
s.description = "A lightweight unit testing framework. Tests (expectations) will be written as follows
expect 2 do
Expand Down

0 comments on commit 1fe56ae

Please sign in to comment.