Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change test.

  • Loading branch information...
commit 3307c33272340828c4db0af8c7083eceef801367 1 parent ceb5170
Jésus Lopes jtadeulopes authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 spec/googl/expand_spec.rb
4 spec/googl/expand_spec.rb
@@ -61,10 +61,10 @@
61 61 subject { Googl.expand('http://goo.gl/DWDfi', :projection => :full) }
62 62
63 63 describe "#created" do
64   - let(:element) { subject.created.utc }
  64 + let(:element) { subject.created }
65 65
66 66 it "should be the time url was shortened" do
67   - element.to_s.should == Time.parse("2011-01-13 01:48:10").utc.to_s
  67 + element.should == Time.iso8601("2011-01-13T03:48:10.309+00:00")
68 68 end
69 69
70 70 end

0 comments on commit 3307c33

Please sign in to comment.
Something went wrong with that request. Please try again.