Sha256: 1491340c81db4cc8120e7a31595b670523800681e2a7d56ab518596b8aca7479

Contents?: true

Size: 589 Bytes

Versions: 83

Compression:

Stored size: 589 Bytes

Contents

# XXX Crashes
#require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper'
#
#describe "ENV.shift" do
#
#  it "returns a pair and deletes it" do
#    ENV.empty?.should == false
#    orig = ENV.to_hash
#    begin
#      pair = ENV.shift
#      ENV.has_key?(pair.first).should == false
#    ensure
#      ENV.replace orig
#    end
#    ENV.has_key?(pair.first).should == true
#  end
#
#  it "returns nil if ENV.empty?" do
#    orig = ENV.to_hash
#    begin
#      ENV.clear
#      ENV.shift.should == nil
#    ensure
#      ENV.replace orig
#    end
#  end
#
#end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
rhodes-3.0.0.beta.6 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-3.0.0.beta.5 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-3.0.0.beta.4 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-3.0.0.beta.3 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-3.0.0.beta.2 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-3.0.0.beta.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.4.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.4.1.beta.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.4.0 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.4.0.beta.2 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.4.0.beta.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.2 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.2.beta.2 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.2.beta.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.1.beta.1 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.0 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.0.beta.3 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.0.beta.2 spec/framework_spec/app/spec/core/env/shift_spec.rb
rhodes-2.3.0.beta.1 spec/framework_spec/app/spec/core/env/shift_spec.rb