spec/momm/momm_spec.rb in momm-0.0.3 vs spec/momm/momm_spec.rb in momm-0.0.4

- old
+ new

@@ -15,7 +15,19 @@ end it "should respond to exchange_rate_from_gbp_to_usd" do Momm.should respond_to :exchange_rate_from_gbp_to_usd end + + it "should respond to update!" do + Momm.should respond_to :update! + end + end + + context ".store" do + it "should be successfully switch to redis store halfway" do + Momm.store :redis_store + Momm.send(:calculator).storage.client.should be_a(Redis::Namespace) + Momm.store :memcached + end end end \ No newline at end of file