Sha256: 689c61f08fcd72f1af699a67ae278e36aa7edb999f4bd0ca7d69d47b1b5c55b0
Contents?: true
Size: 502 Bytes
Versions: 5
Compression:
Stored size: 502 Bytes
Contents
require "spec_helper" describe Paymill::Base do describe "#parse_timestamps" do context "given #created_at is present" do it "creates a Time object" do base = Paymill::Base.new(created_at: 1362823928) base.created_at.class.should eql(Time) end end context "given #updated_at is present" do it "creates a Time object" do base = Paymill::Base.new(updated_at: 1362823928) base.updated_at.class.should eql(Time) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems