1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-21 14:19:39 +02:00
Maybe/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

12 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