Emergency commit after a dirty shutdown.
This commit is contained in:
BIN
test/controllers/.domains_controller_test.rb.kate-swp
Normal file
BIN
test/controllers/.domains_controller_test.rb.kate-swp
Normal file
Binary file not shown.
@@ -1,11 +1,17 @@
|
||||
require "test_helper"
|
||||
|
||||
class DomainsControllerTest < ActionDispatch::IntegrationTest
|
||||
include Devise::Test::IntegrationHelpers
|
||||
setup do
|
||||
@domain = domains(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
test "not should get index because we are not logged in" do
|
||||
get domains_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get index because we are logged in" do
|
||||
get domains_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user