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.3.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.2.beta.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.2.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.1.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.0 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.0.beta.3 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.0.beta.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.3.0.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.6 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.6.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.5 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.5.beta.3 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.5.beta.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.5.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.4.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.3 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.3.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.2 spec/framework_spec/app/spec/core/env/shared/store.rb
rhodes-2.2.2.beta.1 spec/framework_spec/app/spec/core/env/shared/store.rb