Sha256: 565312dfc691506d10316997a4ad3b24a288fe69535ff73db05a273156947d21
Contents?: true
Size: 343 Bytes
Versions: 6
Compression:
Stored size: 343 Bytes
Contents
RSpec::Matchers.define :be_executable do match do |file| if @by_user != nil backend.check_access_by_user(example, file, @by_user, 'x') else backend.check_executable(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