Sha256: 7465f8f175119cca22380f5286a5ee0338dc2b02b14e02b1149920df679cb33f

Contents?: true

Size: 189 Bytes

Versions: 11

Compression:

Stored size: 189 Bytes

Contents

require 'spec_helper'

describe Integer do

  describe "#time" do
    it "to be 1969-12-31 19:00:03 -0500" do
      expect(3.time.to_s).to eq("1969-12-31 19:00:03 -0500")
    end
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
active_object-1.1.1 spec/lib/integer_spec.rb
active_object-1.1.0 spec/lib/integer_spec.rb
active_object-1.0.8 spec/lib/integer_spec.rb
active_object-1.0.7 spec/lib/integer_spec.rb
active_object-1.0.6 spec/lib/integer_spec.rb
active_object-1.0.5 spec/lib/integer_spec.rb
active_object-1.0.4 spec/lib/integer_spec.rb
active_object-1.0.3 spec/lib/integer_spec.rb
active_object-1.0.2 spec/lib/integer_spec.rb
active_object-1.0.1 spec/lib/integer_spec.rb
active_object-1.0.0 spec/lib/integer_spec.rb