Added tests for Credentials
Removed routes from credentials that aren't used along with controller actions
This commit is contained in:
@@ -19,7 +19,7 @@ class CredentialTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
test "domain added to name" do
|
||||
@c = Credential.new(email: "jez", password: "1234567&ab", domain_id: domains(:one).id)
|
||||
@c = Credential.new(email: "jez@#{domains(:one).domain}", password: "1234567&ab", domain_id: domains(:one).id)
|
||||
assert @c.save
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user