diff options
Diffstat (limited to 'spec/ruby/library/date/new_spec.rb')
| -rw-r--r-- | spec/ruby/library/date/new_spec.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/ruby/library/date/new_spec.rb b/spec/ruby/library/date/new_spec.rb index f468036a01..cb64cabce6 100644 --- a/spec/ruby/library/date/new_spec.rb +++ b/spec/ruby/library/date/new_spec.rb @@ -1,8 +1,7 @@ require 'date' -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/civil', __FILE__) -require File.expand_path('../shared/new_bang', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/civil' describe "Date.new" do - it_behaves_like(:date_civil, :new) + it_behaves_like :date_civil, :new end |
