Sha256: 103087b4cd89424970209ff05e42507ae0a4ec0ae500a9857aef9bf373506ac5

Contents?: true

Size: 349 Bytes

Versions: 17

Compression:

Stored size: 349 Bytes

Contents

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

describe DynamicAttributeDefinition do
  it "should serialize the definition" do
    category = Category.create
    category.definition = {:that => "is", :cool => "right?"}
    category.definition[:that].should == "is"
    category.definition[:cool].should == "right?"
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
datts_right-0.0.32 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.31 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.30 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.29 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.28 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.27 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.26 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.25 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.24 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.23 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.22 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.21 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.20 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.19 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.18 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.17 spec/datts_right/dynamic_attribute_definition_spec.rb
datts_right-0.0.16 spec/datts_right/dynamic_attribute_definition_spec.rb