spec/rails2311/first_push_spec.rb in trackman-0.1.1 vs spec/rails2311/first_push_spec.rb in trackman-0.1.2
- old
+ new
@@ -16,14 +16,14 @@
FakablePathManTester.switch_off
ActLikeRails2311.switch_off
end
it "replaces all images" do
- expected = Asset.all
-
- Asset.sync
- actual = RemoteAsset.all
+ local = Asset.all
- actual.count.should == 8
- actual.should == expected
+ Asset.sync
+ remote = RemoteAsset.all
+
+ remote.count.should == 8
+ local.each{|l| remote.should include(l) }
end
end
\ No newline at end of file