mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 14:19:39 +02:00
* Add PagesControllerTest with authentication * Rubocop fixes * Move sign_in to setup block * Remove instance variable
12 lines
199 B
Ruby
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
|