Sha256: 396d99053894ed2738fac5d240ebff641eddf4b8e25697fc39b03ef121127d8a
Contents?: true
Size: 488 Bytes
Versions: 22
Compression:
Stored size: 488 Bytes
Contents
When /^I get all flags$/ do @flags = Sorenson::Services::Flag.all end Then /^the flag count should be "(.*)"$/ do |count| Sorenson::Services::Flag.count.should == count.to_i end And /^I assign the (?:flag|flags) "([^\"]*)" to the asset$/ do |arg1| @flags = @asset.add_flags(arg1) end And /^I find all assets with the flag "([^\"]*)"$/ do |arg1| @assets = Sorenson::Services::Asset.find_all_by_flag(arg1) end And /^I get the flags for the asset$/ do @tags = @asset.flags end
Version data entries
22 entries across 22 versions & 1 rubygems