Sha256: 7c52d1ca56955b7d73b4dc6fc520f720739f718249814f6f43b68ad604208729

Contents?: true

Size: 387 Bytes

Versions: 52

Compression:

Stored size: 387 Bytes

Contents

describe :env_store, :shared => true do
  it "sets the environment variable to the given value" do
    ENV.send(@method, "foo", "bar")
    env.key?("foo").should == true
    env.value?("bar").should == true
    ENV.delete "foo"
    ENV["foo"].should == nil
    ENV.store "foo", "bar"
    env.key?("foo").should == true
    env.value?("bar").should == true
    ENV.delete "foo"
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
rhodes-2.0.0.beta3 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.5.5 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.0.0.beta2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.0.0.beta1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.5.4 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.5.3 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.5.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.5.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.5.0 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.4.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.4.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-1.4.0 spec/framework_spec/app/spec/core/env/shared/store.rb