Sha256: 0183b020bac25f6720848ba57f1eb0689f3977d991c15da5d76fbb117924cd73
Contents?: true
Size: 273 Bytes
Versions: 39
Compression:
Stored size: 273 Bytes
Contents
RSpec::Matchers.define :belong_to_iam_group do |group_id| match do |resource| groups = resource.select_iam_group_by_user_name(resource.resource[:user_name]) groups.find do |group| group.group_id == group_id || group.group_name == group_id end end end
Version data entries
39 entries across 39 versions & 1 rubygems