diff options
Diffstat (limited to 'spec/ruby/library/date/commercial_spec.rb')
| -rw-r--r-- | spec/ruby/library/date/commercial_spec.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/ruby/library/date/commercial_spec.rb b/spec/ruby/library/date/commercial_spec.rb new file mode 100644 index 0000000000..d7fc34d74a --- /dev/null +++ b/spec/ruby/library/date/commercial_spec.rb @@ -0,0 +1,17 @@ +require 'date' +require_relative '../../spec_helper' +require_relative 'shared/commercial' + +describe "Date#commercial" do + + it_behaves_like :date_commercial, :commercial + +end + +# reference: +# October 1582 (the Gregorian calendar, Civil Date) +# S M Tu W Th F S +# 1 2 3 4 15 16 +# 17 18 19 20 21 22 23 +# 24 25 26 27 28 29 30 +# 31 |
