Sha256: 49be7f42ac5e89c7f47e1f19f00fd7b1b6742027c4c24aaf0441a320f926a600

Contents?: true

Size: 259 Bytes

Versions: 7

Compression:

Stored size: 259 Bytes

Contents

Given /^an? "([^"]+)" account exists with a name of "([^"]*)" created (\d+) days ago$/ do |plan_name, account_name, days|
  plan = Plan.find_by_name!(plan_name)
  Factory(:account, :created_at => days.to_i.days.ago, :plan => plan, :name => account_name)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
saucy-0.2.28.1 lib/generators/saucy/features/templates/step_definitions/account_steps.rb
saucy-0.2.28 lib/generators/saucy/features/templates/step_definitions/account_steps.rb
saucy-0.2.27 lib/generators/saucy/features/templates/step_definitions/account_steps.rb
saucy-0.2.26 lib/generators/saucy/features/templates/step_definitions/account_steps.rb
saucy-0.2.25 lib/generators/saucy/features/templates/step_definitions/account_steps.rb
saucy-0.2.24 lib/generators/saucy/features/templates/step_definitions/account_steps.rb
saucy-0.2.21 lib/generators/saucy/features/templates/step_definitions/account_steps.rb