Sha256: 16e2921637c6f32a8d2b115be4306a53ac441a508d7c0f120686911451ebf0ce

Contents?: true

Size: 582 Bytes

Versions: 23

Compression:

Stored size: 582 Bytes

Contents

When /^I get all tags$/ do
  @tags = Sorenson::Services::Tag.all
end

Then /^the tag count should be "([^\"]*)"$/ do |count|
  Sorenson::Services::Tag.count.should == count.to_i
end

When /^I assign the (?:tag|tags) "([^\"]*)" to the asset$/ do |arg1|
  @tags = @asset.add_tags(arg1)
end

When /^I find all assets with the tag "([^\"]*)"$/ do |arg1|
  @assets = Sorenson::Services::Asset.find_all_by_tag(arg1)
end

When /^I get the tags for the asset$/ do
  @tags = @asset.tags
end

When /^I find the tag named "([^\"]*)"$/ do |name|
  @tag = Sorenson::Services::Tag.find(name)
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
360_services-1.1.3 features/step_definitions/manage_tags_steps.rb
360_services-1.1.2 features/step_definitions/manage_tags_steps.rb
360_services-1.1.1 features/step_definitions/manage_tags_steps.rb
360_services-1.0.10 features/step_definitions/manage_tags_steps.rb
360_services-1.1.0 features/step_definitions/manage_tags_steps.rb
360_services-1.0.9 features/step_definitions/manage_tags_steps.rb
360_services-1.0.8 features/step_definitions/manage_tags_steps.rb
360_services-1.0.7 features/step_definitions/manage_tags_steps.rb
360_services-1.0.6 features/step_definitions/manage_tags_steps.rb
360_services-1.0.5 features/step_definitions/manage_tags_steps.rb
360_services-1.0.4 features/step_definitions/manage_tags_steps.rb
360_services-1.0.3 features/step_definitions/manage_tags_steps.rb
360_services-1.0.2 features/step_definitions/manage_tags_steps.rb
360_services-0.0.8 features/step_definitions/manage_tags_steps.rb
360_services-0.0.7 features/step_definitions/manage_tags_steps.rb
360_services-0.0.6 features/step_definitions/manage_tags_steps.rb
360_services-0.0.5 features/step_definitions/manage_tags_steps.rb
360_services-1.0.1 features/step_definitions/manage_tags_steps.rb
360_services-1.0.0 features/step_definitions/manage_tags_steps.rb
360_services-0.0.4 features/step_definitions/manage_tags_steps.rb