Revision b11071cd
Added by June Zhang over 7 years ago
test/integration/operatingsystem_test.rb | ||
---|---|---|
|
||
class OperatingsystemIntegrationTest < ActionDispatch::IntegrationTest
|
||
test "index page" do
|
||
assert_index_page(operatingsystems_path,"Operating systems","New Operating system")
|
||
assert_index_page(operatingsystems_path,"Operating systems","Create Operating System")
|
||
end
|
||
|
||
test "create new page" do
|
||
assert_new_button(operatingsystems_path,"New Operating system",new_operatingsystem_path)
|
||
assert_new_button(operatingsystems_path,"Create Operating System",new_operatingsystem_path)
|
||
fill_in "operatingsystem_name", :with => "Archy"
|
||
fill_in "operatingsystem_major", :with => "9"
|
||
fill_in "operatingsystem_minor", :with => "2"
|
Also available in: Unified diff
Fixes #17872 - Update button label from New to Create
Based on PatternFly Terminology and Wording suggestions
Don't recommend to use New, so update New to Create.