spec/ripple/observable_spec.rb in ripple-1.0.0.beta vs spec/ripple/observable_spec.rb in ripple-1.0.0.beta2
- old
+ new
@@ -4,11 +4,10 @@
# require 'support/models/clock'
# require 'support/models/clock_observer'
before :each do
@client = Ripple.client
- @backend = mock("Backend", :store_object => true)
- @client.stub!(:backend).and_return(@backend)
+ @client.stub(:store_object => true)
@clock = Clock.new
@observer = ClockObserver.instance
end
context "given a document is created" do