test/observer_test.rb in after_commit-1.0.5 vs test/observer_test.rb in after_commit-1.0.6
- old
+ new
@@ -1,5 +1,5 @@
-require File.dirname(__FILE__) + '/test_helper'
+require 'test_helper'
class ObservableMockRecord < ActiveRecord::Base
set_table_name 'mock_records'
attr_accessor :after_commit_called