mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
* Add PagesControllerTest with authentication * Rubocop fixes * Move sign_in to setup block * Remove instance variable
13 lines
199 B
Ruby
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
|