Sha256: 910b5ea728900e6bff943da2e885da815129011d58e0000e3ddad72b22591ce8
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
360_services-0.0.1 | features/step_definitions/manage_flags_steps.rb |