Browse files

! fixes spec (now @foo really is initialized)

  • Loading branch information...
1 parent dafe787 commit 602b0861d5d4945c63ab4d98008effafb643d458 @kschiess committed Mar 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/parslet/transform_spec.rb
View
4 spec/parslet/transform_spec.rb
@@ -114,9 +114,9 @@ class OptimusPrime < Parslet::Transform
end)
end
it "should execute in its own context" do
- @foo = 'test'
+ @bar = 'test'
transform.call_on_match(bindings, proc do
- @foo.should_not == 'test'
+ @bar.should_not == 'test'
end)
end
end

0 comments on commit 602b086

Please sign in to comment.