Project

General

Profile

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

class ComputeResourceTest < ActionDispatch::IntegrationTest

test "index page" do
assert_index_page(compute_resources_path,"Compute Resources","New Compute Resource")
end

test "edit compute resource" do
visit compute_resources_path
click_link "mycompute"
click_link "Edit"
fill_in "compute_resource_name", :with => "mycompute_old"
assert_submit_button(compute_resources_path)
assert page.has_link? 'mycompute_old'
end

end
(8-8/33)