Sha256: 45eb1cc0cf3ed6beadd43566d5843613b22c8df2c44bc90ba6b2f7b5d3929146
Contents?: true
Size: 594 Bytes
Versions: 60
Compression:
Stored size: 594 Bytes
Contents
require 'test_helper' class UserstampsTest < Test::Unit::TestCase context "userstamping" do setup do @document = Doc do userstamps! end end should "add creator_id key" do @document.keys.keys.should include('creator_id') end should "add updater_id key" do @document.keys.keys.should include('updater_id') end should "add belongs_to creator" do @document.associations.keys.should include('creator') end should "add belongs_to updater" do @document.associations.keys.should include('updater') end end end
Version data entries
60 entries across 60 versions & 7 rubygems