Commit 31c41a8f authored by Semyon Pupkov's avatar Semyon Pupkov

Use build instead create record in appearance_spec

parent 9c92443f
require 'rails_helper'
RSpec.describe Appearance, type: :model do
subject { create(:appearance) }
subject { build(:appearance) }
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