aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/state_machine/machine_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/state_machine/machine_test.rb')
-rw-r--r--activemodel/test/state_machine/machine_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/test/state_machine/machine_test.rb b/activemodel/test/state_machine/machine_test.rb
index 2cdfcd9554..d23c223160 100644
--- a/activemodel/test/state_machine/machine_test.rb
+++ b/activemodel/test/state_machine/machine_test.rb
@@ -1,4 +1,4 @@
-require File.expand_path(File.join(File.dirname(__FILE__), '..', 'test_helper'))
+require 'test_helper'
class MachineTestSubject
include ActiveModel::StateMachine
@@ -40,4 +40,4 @@ class StateMachineMachineTest < ActiveModel::TestCase
assert events.include?(:shutdown)
assert events.include?(:timeout)
end
-end \ No newline at end of file
+end