Sha256: 67d1bf735ae2335485dfeaab4588f1166ae9aeda0ff8a652826e89cdc65de9f4

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 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.map(&:id).should include(@asset.id)
end

Then /^the asset should have the group$/ do
  @asset.group.should == @group
end

Then /^the group should have the asset$/ do
  @group.assets.map(&:id).should include(@asset.id)
end

Version data entries

1 entries across 1 versions & 1 rubygems

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