Skip to content

Instantly share code, notes, and snippets.

@fbernier
Created January 25, 2013 14:14
Show Gist options
  • Save fbernier/4634725 to your computer and use it in GitHub Desktop.
Save fbernier/4634725 to your computer and use it in GitHub Desktop.
let(:date) do
Time.now
end
it "converts the elements properly" do
p date.zone
mongoized.first.should eq(date)
p date.zone
end
----------------------------
"EST"
"UTC"
converts the elements properly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment