lib/spec/runner/context_eval.rb in rspec-0.7.3 vs lib/spec/runner/context_eval.rb in rspec-0.7.4
- old
+ new
@@ -96,10 +96,10 @@
proc do
parts.each do |part|
if part.is_a?(UnboundMethod)
part.bind(self).call
else
- instance_exec(&part)
+ instance_eval(&part)
end
end
end
end
end