spec/store/memcached_spec.rb in rack-pagespeed-1.0.7 vs spec/store/memcached_spec.rb in rack-pagespeed-1.0.8

- old
+ new

@@ -4,16 +4,10 @@ before :all do Rack::PageSpeed::Config # load all storage mechanisms @store = Rack::PageSpeed::Store::Memcached.new @client = @store.instance_variable_get(:@client) end - - context 'initializing' do - it "errors out if it can't connect to Memcached" do - expect { MemcachedStore.new('ohfoo').new }.to raise_error - end - end - + context 'writing' do it "writes with a Hash-like syntax" do @client.should_receive(:set).with('omg', 'value') @store['omg'] = "value" end \ No newline at end of file