Revision 72479d52
Added by Ohad Levy over 10 years ago
test/integration/environment_test.rb | ||
---|---|---|
class EnvironmentTest < ActionDispatch::IntegrationTest
|
||
|
||
test "index page" do
|
||
assert_index_page(environments_path,"Environments","New Environment")
|
||
assert_index_page(environments_path,"Environments","New Puppet Environment")
|
||
end
|
||
|
||
test "create new page" do
|
||
assert_new_button(environments_path,"New Environment",new_environment_path)
|
||
assert_new_button(environments_path,"New Puppet Environment",new_environment_path)
|
||
fill_in "environment_name", :with => "golive"
|
||
assert_submit_button(environments_path)
|
||
assert page.has_link? 'golive'
|
Also available in: Unified diff
fixes #3709 - explicitly say puppet environments vs just 'environments'