spec/compatibility_spec.rb in fakeredis-0.5.0 vs spec/compatibility_spec.rb in fakeredis-0.6.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
module FakeRedis
describe "Compatibility" do
it "should be accessible through FakeRedis::Redis" do
- lambda { FakeRedis::Redis.new }.should_not raise_error
+ expect { FakeRedis::Redis.new }.not_to raise_error
end
end
end