Sha256: 60281e662c330cac0096249676d12f1b5cd25cbfdb938deb09f50210b0301fb7

Contents?: true

Size: 285 Bytes

Versions: 6

Compression:

Stored size: 285 Bytes

Contents

Given /^there exists a menu element "([^"]*)" linking to "([^"]*)" for menu "([^"]*)"$/ do |name, url, menu_name|
  menu = Menu.find_by_name(menu_name) || Factory(:menu, :name => menu_name)
  Factory(:menu_element_admin_with_url, :display_name => name, :menu => menu, :url => url)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scidea-schools-1.1 features/step_definitions/menu_steps.rb
scidea-schools-1.0.6 features/step_definitions/menu_steps.rb
scidea-schools-1.0.5 features/step_definitions/menu_steps.rb
scidea-schools-1.0.4 features/step_definitions/menu_steps.rb
scidea-schools-1.0.3 features/step_definitions/menu_steps.rb
scidea-schools-1.0.2 features/step_definitions/menu_steps.rb