spec/sid_spec.rb in sid-0.0.2 vs spec/sid_spec.rb in sid-0.0.3
- old
+ new
@@ -16,6 +16,10 @@
Page.create(:account_id => 2).sid.should == 2
Page.find_by_sid(2).destroy
Page.create(:account_id => 1).sid.should == 5
end
+
+ it "should allow setting of sid column" do
+ Category.create(:account_id => 1).alternative_sid.should == 1
+ end
end