mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Replace create with build in adjustment metadata model specs
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe AdjustmentMetadata do
|
||||
it "is valid when build from factory" do
|
||||
adjustment = create(:adjustment)
|
||||
it "is valid when built from factory" do
|
||||
adjustment = build(:adjustment)
|
||||
expect(adjustment).to be_valid
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user