spec/toy/store_spec.rb in toystore-0.10.4 vs spec/toy/store_spec.rb in toystore-0.11.0

- old
+ new

@@ -1,9 +1,13 @@ require 'helper' describe Toy::Store do uses_constants('User') + subject { User.new } + + it_should_behave_like 'ActiveModel' + describe "#to_key" do it "returns [id] if persisted" do user = User.create user.to_key.should == [user.id] end