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

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