Fixed the tests and apart from one, they all work
This commit is contained in:
@@ -22,4 +22,9 @@ class CredentialTest < ActiveSupport::TestCase
|
||||
@c = Credential.new(email: "jez@#{domains(:domainone).domain}", password: "1234567&ab", domain_id: domains(:domainone).id)
|
||||
assert @c.save
|
||||
end
|
||||
|
||||
test "domain_id not the same as domain" do
|
||||
@c = Credential.new(email: "steve@#{domains(:domainone).domain}", password: "1234567&ab", domain_id: domains(:domainone).id)
|
||||
assert_not @c.save
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user