spec/octopus/model_spec.rb in ar-octopus-0.0.5 vs spec/octopus/model_spec.rb in ar-octopus-0.0.6

- old
+ new

@@ -143,10 +143,10 @@ end describe "#replicated_model method" do it "should be replicated" do using_enviroment :production_replicated do - ActiveRecord::Base.connection_proxy.replicated.should be_true + ActiveRecord::Base.connection_proxy.instance_variable_get(:@replicated).should be_true end end it "should mark the Cat model as replicated" do using_enviroment :production_replicated do \ No newline at end of file