spec/models/changeset_spec.rb in rosemary-0.3.0 vs spec/models/changeset_spec.rb in rosemary-0.3.1
- old
+ new
@@ -95,10 +95,10 @@
it "should have a max_lon attribute within xml representation" do
subject.should have_xml "//changeset[@max_lon='13.5']"
end
it "should have a created_at attribute within xml representation" do
- subject.should have_xml "//changeset[@created_at='2008-11-08 19:07:39 +0100']"
+ subject.should have_xml "//changeset[@created_at=\'#{Time.parse('2008-11-08T19:07:39+01:00')}\']"
end
it "should have a comment tag within xml representation" do
subject.should have_xml "//tag[@k='comment'][@v='A bloody comment']"
end
\ No newline at end of file