Top Level Namespace
Defined Under Namespace
Modules: Noumenon
Instance Method Summary collapse
Instance Method Details
#check_for_items(menu_items) ⇒ Object
1 2 3 4 5 |
# File 'lib/noumenon/cucumber/navigation_steps.rb', line 1 def check_for_items() .hashes.each do |item| page.should have_css "li a[href='#{item["Link Target"]}']", :text => item["Label"] end end |
#generator_file(generator, file) ⇒ Object
1 2 3 |
# File 'lib/noumenon/cucumber/generator_steps.rb', line 1 def generator_file(generator, file) File.read File.("../../../../generators/#{generator}/#{file}", __FILE__) end |