Skip to content

Commit

Permalink
Merge pull request #581 from norman/remove-anonymous-test
Browse files Browse the repository at this point in the history
Remove anonymous test for Marshal as we don't use anonymous classes anymore
  • Loading branch information
norman committed Jul 2, 2014
2 parents 6b1fbb8 + aabca66 commit 97ed06e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/core_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,4 @@ def model_class
test "instances should have a friendly id" do
with_instance_of(model_class) {|record| assert record.friendly_id}
end

test "instances can be marshaled when a relationship is used" do
transaction do
author = Author.create :name => 'Philip'
author.books.create :name => 'my book'
begin
assert Marshal.load(Marshal.dump(author))
rescue TypeError => e
flunk(e.to_s)
end
end
end
end

0 comments on commit 97ed06e

Please # to comment.