Commit cad3ad26 authored by Semyon Pupkov's avatar Semyon Pupkov

Use build instead create in BroadcastMessage model spec

parent f82d6aa1
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