Use build instead create in BroadcastMessage model spec
This commit is contained in:
parent
f82d6aa147
commit
cad3ad266a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe BroadcastMessage, models: true do
|
describe BroadcastMessage, models: true do
|
||||||
subject { create(:broadcast_message) }
|
subject { build(:broadcast_message) }
|
||||||
|
|
||||||
it { is_expected.to be_valid }
|
it { is_expected.to be_valid }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue