Sha256: b2b3ad9a1768fbbb536e00ff1d4c8ca04beab06b98e51c8d0edb19e65de279d7
Contents?: true
Size: 226 Bytes
Versions: 5
Compression:
Stored size: 226 Bytes
Contents
RSpec::Matchers.define :belong_to_group do |group| match do |user| if user.respond_to?(:belongs_to_group?) user.belongs_to_group?(group) else backend.check_belonging_group(user, group) end end end
Version data entries
5 entries across 5 versions & 1 rubygems