Skip to content
Snippets Groups Projects
Commit 782a42ca authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'use-build-in-broadcast-message-spec' into 'master'

Use build instead create in BroadcastMessage model spec

See merge request !7592
parents 900999f8 cad3ad26
No related branches found
No related tags found
No related merge requests found
require 'spec_helper'
 
describe BroadcastMessage, models: true do
subject { create(:broadcast_message) }
subject { build(:broadcast_message) }
 
it { is_expected.to be_valid }
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment