diff options
Diffstat (limited to 'spec/rubyspec/library/date/valid_date_spec.rb')
-rw-r--r-- | spec/rubyspec/library/date/valid_date_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/rubyspec/library/date/valid_date_spec.rb b/spec/rubyspec/library/date/valid_date_spec.rb new file mode 100644 index 0000000000..ffaf007cd1 --- /dev/null +++ b/spec/rubyspec/library/date/valid_date_spec.rb @@ -0,0 +1,7 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../shared/valid_civil', __FILE__) +require 'date' + +describe "Date#valid_date?" do + it_behaves_like :date_valid_civil?, :valid_date? +end |