Permalink
Browse files

Fix date specs.

  • Loading branch information...
1 parent d04c24e commit c2e90a75b6170a140207bf9beb6ea190bb556d59 @weppos committed Sep 19, 2012
@@ -24,15 +24,15 @@
#created_on
should: %s CLASS(time)
- should: %s == Time.parse("2010-04-26 07:50:40 UTC")
+ should: %s == Time.parse("2010-04-26 07:50:40 GMT")
#updated_on
should: %s CLASS(time)
- should: %s == Time.parse("2012-08-15 20:57:42")
+ should: %s == Time.parse("Wed Aug 15 18:57:42 GMT")
#expires_on
should: %s CLASS(time)
- should: %s == Time.parse("2013-04-25 23:59:59 UTC")
+ should: %s == Time.parse("2013-04-25 23:59:59 GMT")
#registrar
@@ -59,19 +59,19 @@
describe "#created_on" do
it do
subject.created_on.should be_a(Time)
- subject.created_on.should == Time.parse("2010-04-26 07:50:40 UTC")
+ subject.created_on.should == Time.parse("2010-04-26 07:50:40 GMT")
end
end
describe "#updated_on" do
it do
subject.updated_on.should be_a(Time)
- subject.updated_on.should == Time.parse("2012-08-15 20:57:42")
+ subject.updated_on.should == Time.parse("Wed Aug 15 18:57:42 GMT")
end
end
describe "#expires_on" do
it do
subject.expires_on.should be_a(Time)
- subject.expires_on.should == Time.parse("2013-04-25 23:59:59 UTC")
+ subject.expires_on.should == Time.parse("2013-04-25 23:59:59 GMT")
end
end
describe "#registrar" do

0 comments on commit c2e90a7

Please sign in to comment.