Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added a pending spec for setting ENV to [] in the sandbox

  • Loading branch information...
commit a86dd3a12514d7e73ee5f9abd3b43030173d6b1e 1 parent 2a8544f
Eric Allam ericallam authored

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. +6 0 spec/sandbox_spec.rb
6 spec/sandbox_spec.rb
@@ -116,6 +116,12 @@
116 116 OPS
117 117 subject.eval(operations).should == 'foo'
118 118 end
  119 +
  120 + it "should have an empty ENV" do
  121 + pending do
  122 + subject.eval(%{ENV.to_a}).should be_empty
  123 + end
  124 + end
119 125
120 126 it "should persist state between evaluations" do
121 127 subject.eval('o = Object.new')

0 comments on commit a86dd3a

Please sign in to comment.
Something went wrong with that request. Please try again.