Sha256: 446240b5a079e25660c4f1dbe6f6331ed9c35689d6808ae8b4fafe558c2f9ff2

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require File.expand_path('../../../spec_helper', __FILE__)

include Fathom

describe Property do
  
  it "should initialize a value accessor" do
    Property.should have_an_initialization_accessor_for(:value)
  end
  
  it "should have an infer constructor" do
    property = Property.infer(:some_value)
    property.should be_a(Property)
    property.value.should eql(:some_value)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fathom-0.5.0 spec/fathom/data/property_spec.rb