Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove anonymous test for Marshal as we don't use anonymous classes anymore #581

Merged
merged 1 commit into from
Jul 2, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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