Sha256: 1663a35cfe71c2a6860d480b4b215472f7d74a4be7530577963255e42c63dc88
Contents?: true
Size: 360 Bytes
Versions: 9
Compression:
Stored size: 360 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe ".with_dynamic_attribute_key" do before do reset_database @page = Page.create end it "should be aliased by .with_datt_key" do @page.add_dynamic_attribute(:price, "float") Page.with_dynamic_attribute_key(:price).should == Page.with_datt_key(:price) end end
Version data entries
9 entries across 9 versions & 1 rubygems