spec/remcached_spec.rb in em-synchrony-1.0.4 vs spec/remcached_spec.rb in em-synchrony-1.0.5
- old
+ new
@@ -4,11 +4,11 @@
describe Memcached do
it "should yield until connection is ready" do
EventMachine.synchrony do
Memcached.connect %w(localhost)
- Memcached.usable?.should be_true
+ Memcached.usable?.should eq(true)
EventMachine.stop
end
end
it "should fire sequential memcached requests" do
@@ -26,12 +26,12 @@
EventMachine.stop
end
end
it "should fire multi memcached requests" do
- EventMachine.synchrony do
- pending "patch mult-get"
+ skip "patch mult-get"
+ EventMachine.synchrony do
Memcached.connect %w(localhost)
Memcached.multi_get([{:key => 'foo'},{:key => 'bar'}, {:key => 'test'}]) do |res|
# TODO
EventMachine.stop
end