summaryrefslogtreecommitdiff
path: root/spec/ruby/library/date/civil_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/date/civil_spec.rb')
-rw-r--r--spec/ruby/library/date/civil_spec.rb11
1 files changed, 3 insertions, 8 deletions
diff --git a/spec/ruby/library/date/civil_spec.rb b/spec/ruby/library/date/civil_spec.rb
index 36e790aecd..1c780fce56 100644
--- a/spec/ruby/library/date/civil_spec.rb
+++ b/spec/ruby/library/date/civil_spec.rb
@@ -1,12 +1,7 @@
-require File.expand_path('../../../spec_helper', __FILE__)
-require File.expand_path('../shared/civil', __FILE__)
+require_relative '../../spec_helper'
+require_relative 'shared/civil'
require 'date'
-describe "Date#civil" do
- it_behaves_like(:date_civil, :civil)
-end
-
-
describe "Date.civil" do
- it "needs to be reviewed for spec completeness"
+ it_behaves_like :date_civil, :civil
end