Sha256: 8b8716c1f402949defe9e6903cfbf79e52844cf182b114a41e864db90d91729a
Contents?: true
Size: 279 Bytes
Versions: 2
Compression:
Stored size: 279 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_with_url, :display_name => name, :menu => menu, :url => url) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scidea-schools-1.0.1 | features/step_definitions/menu_steps.rb |
scidea-schools-1.0.0 | features/step_definitions/menu_steps.rb |