Sha256: 4edd05fff353dce55b32396679b9b792d02ac4e2491ba2edc5fd254905933195

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

When /^I add the asset to the group$/ do
  @group.add_asset(@asset)
end

Then /^the asset should be in the group$/ do
  @group.assets.should include(@asset.id)
end

Then /^the asset should have the group$/ do
  @asset.groups.should include(@group.id)
end

Then /^the group should have the asset$/ do
  @group.assets.should include(@asset.id) # express the regexp above with the code you wish you had
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
360_services-0.0.1 features/step_definitions/manage_group_assets_steps.rb