diff options
Diffstat (limited to 'spec/ruby/core/time/shared/to_i.rb')
| -rw-r--r-- | spec/ruby/core/time/shared/to_i.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/ruby/core/time/shared/to_i.rb b/spec/ruby/core/time/shared/to_i.rb deleted file mode 100644 index 03497c700b..0000000000 --- a/spec/ruby/core/time/shared/to_i.rb +++ /dev/null @@ -1,9 +0,0 @@ -describe :time_to_i, shared: true do - it "returns the value of time as an integer number of seconds since epoch" do - Time.at(0).send(@method).should == 0 - end - - it "doesn't return an actual number of seconds in time" do - Time.at(65.5).send(@method).should == 65 - end -end |
