summaryrefslogtreecommitdiff
path: root/spec/ruby/library/date/rfc3339_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/date/rfc3339_spec.rb')
-rw-r--r--spec/ruby/library/date/rfc3339_spec.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/ruby/library/date/rfc3339_spec.rb b/spec/ruby/library/date/rfc3339_spec.rb
new file mode 100644
index 0000000000..a8711d47b2
--- /dev/null
+++ b/spec/ruby/library/date/rfc3339_spec.rb
@@ -0,0 +1,13 @@
+require_relative '../../spec_helper'
+require 'date'
+
+describe "Date.rfc3339" do
+ it "needs to be reviewed for spec completeness"
+end
+
+describe "Date._rfc3339" do
+ it "returns an empty hash if the argument is a invalid Date" do
+ h = Date._rfc3339('invalid')
+ h.should == {}
+ end
+end