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