Sha256: 8e3bca91236b3b749637392bdb4eb68232de1ac362c3809383e84158e5ec571d
Contents?: true
Size: 836 Bytes
Versions: 1
Compression:
Stored size: 836 Bytes
Contents
require 'spec_helper' describe Momm do context "Calculator delegation" do it "should respond to exchange_rate" do Momm.should respond_to :exchange_rate end it "should respond to exchange" do Momm.should respond_to :exchange end it "should respond to exchange_from_gbp_to_usd" do Momm.should respond_to :exchange_from_gbp_to_usd 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
momm-0.0.4 | spec/momm/momm_spec.rb |