Sha256: c3f827096034368b86835fadea4b6c4a800f35a9c4ce9847c418b84fb9fdd366

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')


describe Gator::Sandbox do

  it "should add a getter for a value" do
    Gator::Sandbox.add_getter :my_getter, "MyValue"
    Gator::Sandbox.my_getter.should == "MyValue"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gator-0.0.25.pre spec/core/io/sandbox_spec.rb
gator-0.0.24.pre spec/core/io/sandbox_spec.rb
gator-0.0.23.pre spec/core/io/sandbox_spec.rb
gator-0.0.22.pre spec/core/io/sandbox_spec.rb