spec/attributes_spec.rb in simple_model-0.0.1 vs spec/attributes_spec.rb in simple_model-0.1.0
- old
+ new
@@ -7,10 +7,12 @@
has_attributes :test1,:test2
end
@init = TestInit.new(:test1 => "1", :test2 => '2')
end
+
it "should set provided attributes on initialize" do
+
@init.test1.should eql("1")
@init.test2.should eql("2")
end
it "should include set attributes in attributes hash" do