Add framework for system tests
This commit is contained in:
parent
aa1fb6dbb8
commit
9e929de530
6 changed files with 30 additions and 2 deletions
9
test/system/site_test.rb
Normal file
9
test/system/site_test.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require "application_system_test_case"
|
||||
|
||||
class SiteTest < ApplicationSystemTestCase
|
||||
test "visiting the index" do
|
||||
visit "/"
|
||||
|
||||
assert_selector "h1", :text => "OpenStreetMap"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue