Add framework for system tests

This commit is contained in:
Tom Hughes 2017-10-29 20:58:23 +00:00
parent aa1fb6dbb8
commit 9e929de530
6 changed files with 30 additions and 2 deletions

9
test/system/site_test.rb Normal file
View 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