Skip to content
Snippets Groups Projects
Commit 87c7a085 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

Former-commit-id: 782a42ca
parents 673ead3c 8072d5f4
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