Sha256: 2e0953b8b6617975118b4cdd6ba2cd90a2a8384667059056dfb227c4c443cb70
Contents?: true
Size: 293 Bytes
Versions: 4
Compression:
Stored size: 293 Bytes
Contents
require 'spec_helper' module Alf class Adapter describe Connection, "lock" do let(:conn){ Connection.new(nil) } subject{ conn.lock(:name, :exclusive){ @seen = true } } it 'yields the block' do subject @seen.should be_true end end end end
Version data entries
4 entries across 4 versions & 1 rubygems