We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437dc95 commit e3597d2Copy full SHA for e3597d2
test/transaction_test_methods.rb
@@ -21,7 +21,7 @@ class MyUser < ActiveRecord::Base; self.table_name = 'users' end
21
def setup
22
super
23
begin
24
- Entry.delete_all
+ Entry.delete_all; User.delete_all
25
rescue ActiveRecord::StatementInvalid => e
26
e = e.original_exception if e.respond_to?(:original_exception)
27
puts "ERROR: #{self.class.name}.#{__method__} failed: #{e.inspect}"
0 commit comments