spec/sync_spec.rb in trackman-0.5.4 vs spec/sync_spec.rb in trackman-0.5.5
- old
+ new
@@ -72,10 +72,10 @@
end
it "logs the error when sync is broken" do
MyTestAsset.stub!(:sync).and_raise("something is wrong")
- RemoteAsset.should_receive(:log_exception).once
+ Trackman::Utility::Debugger.should_receive(:log_exception).once
lambda { result = MyTestAsset.autosync }.should_not raise_error
end
it "syncs if the env is not development or test" do
\ No newline at end of file