Files
sure/test/controllers/pages_controller_test.rb
Dwight Watson fb7411e163 Add PagesControllerTest with authentication (#288)
* Add PagesControllerTest with authentication

* Rubocop fixes

* Move sign_in to setup block

* Remove instance variable
2024-02-04 17:39:38 -06:00

13 lines
199 B
Ruby

require "test_helper"
class PagesControllerTest < ActionDispatch::IntegrationTest
setup do
sign_in users(:bob)
end
test "dashboard" do
get root_path
assert_response :ok
end
end