- Remove all Rodauth stuff and implement simple custom auth - Migrate from sprockets to propshaft, hack some bootstrap stuff
17 lines
329 B
Ruby
17 lines
329 B
Ruby
require "test_helper"
|
|
|
|
class BackofficeControllerTest < ::ControllerTest
|
|
teardown do
|
|
logout
|
|
end
|
|
|
|
setup do
|
|
User.create!(email_address: "test@example.com", password: "password")
|
|
login("test@example.com", "password")
|
|
end
|
|
|
|
test "should get show" do
|
|
get backoffice_url
|
|
assert_response :success
|
|
end
|
|
end
|