Now we need to include EmailHelpers for each test
This commit is contained in:
parent
46d7c1d2b3
commit
5430122c56
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe DeployKey, models: true do
|
describe DeployKey, models: true do
|
||||||
|
include EmailHelpers
|
||||||
|
|
||||||
describe "Associations" do
|
describe "Associations" do
|
||||||
it { is_expected.to have_many(:deploy_keys_projects) }
|
it { is_expected.to have_many(:deploy_keys_projects) }
|
||||||
it { is_expected.to have_many(:projects) }
|
it { is_expected.to have_many(:projects) }
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Key, models: true do
|
describe Key, models: true do
|
||||||
|
include EmailHelpers
|
||||||
|
|
||||||
describe "Associations" do
|
describe "Associations" do
|
||||||
it { is_expected.to belong_to(:user) }
|
it { is_expected.to belong_to(:user) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue