Fixed the tests and apart from one, they all work
This commit is contained in:
@@ -5,7 +5,7 @@ class CredentialsControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
setup do
|
||||
@credential = credentials(:one)
|
||||
@domain = domains(:one)
|
||||
@domain = domains(:domainone)
|
||||
end
|
||||
|
||||
test "should not get new" do
|
||||
|
||||
@@ -3,7 +3,7 @@ require "test_helper"
|
||||
class DomainsControllerTest < ActionDispatch::IntegrationTest
|
||||
include Devise::Test::IntegrationHelpers
|
||||
setup do
|
||||
@domain = domains(:one)
|
||||
@domain = domains(:domainone)
|
||||
end
|
||||
|
||||
test "not should get index because user not logged in" do
|
||||
|
||||
@@ -5,7 +5,7 @@ class VirtualsControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
setup do
|
||||
@virtual = virtuals(:one)
|
||||
@domain = domains(:one)
|
||||
@domain = domains(:domainone)
|
||||
end
|
||||
|
||||
test "should get not get new because we are not logged in" do
|
||||
|
||||
Reference in New Issue
Block a user