Project

General

Profile

Download (569 Bytes) Statistics
| Branch: | Tag: | Revision:
require 'test_helper'

class PuppetclassLookupKeyIntegrationTest < ActionDispatch::IntegrationTest
test "index page" do
assert_index_page(puppetclass_lookup_keys_path,"Smart class parameters",false)
end

test "edit page" do
visit puppetclass_lookup_keys_path
within(:xpath, "//table") do
click_link "ssl"
end
fill_in "puppetclass_lookup_key_description", :with => "test"
fill_in "puppetclass_lookup_key_default_value", :with => "false"
assert_submit_button(puppetclass_lookup_keys_path)
assert page.has_link? 'ssl'
end
end
(23-23/36)