diff options
Diffstat (limited to 'spec/ruby/library/date/shared/month.rb')
| -rw-r--r-- | spec/ruby/library/date/shared/month.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/ruby/library/date/shared/month.rb b/spec/ruby/library/date/shared/month.rb new file mode 100644 index 0000000000..5fcb2cbeb0 --- /dev/null +++ b/spec/ruby/library/date/shared/month.rb @@ -0,0 +1,6 @@ +describe :date_month, shared: true do + it "returns the month" do + m = Date.new(2000, 7, 1).send(@method) + m.should == 7 + end +end |
