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