0
@@ -15,7 +15,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_person_creation_with_stamped_object
0
- assert_equal @zeus
, User.stamper
0
+ assert_equal @zeus
.id, User.stamper
0
person = Person.create(:name => "David")
0
assert_equal @zeus.id, person.creator_id
0
@@ -26,7 +26,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_person_creation_with_stamped_integer
0
- assert_equal 2, User.stamper
.id0
+ assert_equal 2, User.stamper
0
person = Person.create(:name => "Daniel")
0
assert_equal @hera.id, person.creator_id
0
@@ -36,7 +36,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_post_creation_with_stamped_object
0
- assert_equal @delynn
, Person.stamper
0
+ assert_equal @delynn
.id, Person.stamper
0
post = Post.create(:title => "Test Post - 1")
0
assert_equal @delynn.id, post.creator_id
0
@@ -47,7 +47,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_post_creation_with_stamped_integer
0
- assert_equal 2, Person.stamper
.id0
+ assert_equal 2, Person.stamper
0
post = Post.create(:title => "Test Post - 2")
0
assert_equal @nicole.id, post.creator_id
0
@@ -58,7 +58,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_person_updating_with_stamped_object
0
- assert_equal @hera
, User.stamper
0
+ assert_equal @hera
.id, User.stamper
0
@delynn.name << " Berry"
0
@@ -71,7 +71,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_person_updating_with_stamped_integer
0
- assert_equal 2, User.stamper
.id0
+ assert_equal 2, User.stamper
0
@delynn.name << " Berry"
0
@@ -84,7 +84,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_post_updating_with_stamped_object
0
Person.stamper = @nicole
0
- assert_equal @nicole
, Person.stamper
0
+ assert_equal @nicole
.id, Person.stamper
0
@first_post.title << " - Updated"
0
@@ -97,7 +97,7 @@ class StampingTests < Test::Unit::TestCase # :nodoc:
0
def test_post_updating_with_stamped_integer
0
- assert_equal 2, Person.stamper
.id0
+ assert_equal 2, Person.stamper
0
@first_post.title << " - Updated"
Comments
No one has commented yet.