Skip to content

Commit

Permalink
Added a pending spec for setting ENV to [] in the sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Allam committed Sep 27, 2011
1 parent 2a8544f commit a86dd3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/sandbox_spec.rb
Expand Up @@ -116,6 +116,12 @@
OPS OPS
subject.eval(operations).should == 'foo' subject.eval(operations).should == 'foo'
end end

it "should have an empty ENV" do
pending do
subject.eval(%{ENV.to_a}).should be_empty
end
end


it "should persist state between evaluations" do it "should persist state between evaluations" do
subject.eval('o = Object.new') subject.eval('o = Object.new')
Expand Down

0 comments on commit a86dd3a

Please sign in to comment.