Sha256: ed67df352920e912506ae9997e1d4cadc1fced2fe2db9b4741a660a0d1aac0a7
Contents?: true
Size: 440 Bytes
Versions: 24
Compression:
Stored size: 440 Bytes
Contents
# This calls the main test_helper in Foreman-core require 'test_helper' def assert_row_button(index_path, link_text, button_text, dropdown = false) visit index_path within(:xpath, "//tr[contains(.,'#{link_text}')]") do find("i.caret").click if dropdown click_link(button_text) end end # Add plugin to FactoryGirl's paths FactoryGirl.definition_file_paths << File.join(File.dirname(__FILE__), 'factories') FactoryGirl.reload
Version data entries
24 entries across 24 versions & 2 rubygems