Commit 782a42ca authored by Rémy Coutable's avatar Rémy Coutable

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
require 'spec_helper'
describe BroadcastMessage, models: true do
subject { create(:broadcast_message) }
subject { build(:broadcast_message) }
it { is_expected.to be_valid }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment