Sha256: 3a56d434061cc1c5254a36c403689e01a8b8266331db288a3bcb1c80f68af743
Contents?: true
Size: 339 Bytes
Versions: 6
Compression:
Stored size: 339 Bytes
Contents
RSpec::Matchers.define :be_writable do match do |file| if @by_user != nil backend.check_access_by_user(example, file, @by_user, 'w') else backend.check_writable(example, file, @by_whom) end end chain :by do |by_whom| @by_whom = by_whom end chain :by_user do |by_user| @by_user = by_user end end
Version data entries
6 entries across 6 versions & 1 rubygems