summaryrefslogtreecommitdiff
path: root/spec/ruby/library/date/format/bag
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/date/format/bag')
-rw-r--r--spec/ruby/library/date/format/bag/method_missing_spec.rb2
-rw-r--r--spec/ruby/library/date/format/bag/to_hash_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/date/format/bag/method_missing_spec.rb b/spec/ruby/library/date/format/bag/method_missing_spec.rb
index 529fde05d2..03e4fbcd30 100644
--- a/spec/ruby/library/date/format/bag/method_missing_spec.rb
+++ b/spec/ruby/library/date/format/bag/method_missing_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../../../spec_helper', __FILE__)
+require_relative '../../../../spec_helper'
require 'date'
describe "Date::Format::Bag#method_missing" do
diff --git a/spec/ruby/library/date/format/bag/to_hash_spec.rb b/spec/ruby/library/date/format/bag/to_hash_spec.rb
index ba9525e5e8..76734624b9 100644
--- a/spec/ruby/library/date/format/bag/to_hash_spec.rb
+++ b/spec/ruby/library/date/format/bag/to_hash_spec.rb
@@ -1,4 +1,4 @@
-require File.expand_path('../../../../../spec_helper', __FILE__)
+require_relative '../../../../spec_helper'
require 'date'
describe "Date::Format::Bag#to_hash" do