diff options
Diffstat (limited to 'spec/ruby/library/date/shared/valid_jd.rb')
-rw-r--r-- | spec/ruby/library/date/shared/valid_jd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/date/shared/valid_jd.rb b/spec/ruby/library/date/shared/valid_jd.rb index d8a35992b3..bd71f5abba 100644 --- a/spec/ruby/library/date/shared/valid_jd.rb +++ b/spec/ruby/library/date/shared/valid_jd.rb @@ -1,8 +1,8 @@ describe :date_valid_jd?, shared: true do it "returns true if passed any value other than nil" do Date.send(@method, -100).should be_true - Date.send(@method, :number).should be_true - Date.send(@method, Rational(1,2)).should be_true + Date.send(@method, :number).should be_true + Date.send(@method, Rational(1,2)).should be_true end it "returns false if passed nil" do |