require 'spec_helper'

describe AdjustmentMetadata do
  it "is valid when build from factory" do
    adjustment = create(:adjustment)
    expect(adjustment).to be_valid
  end
end

require 'spec_helper'

describe AdjustmentMetadata do
  it "is valid when built from factory" do
    adjustment = build(:adjustment)
    expect(adjustment).to be_valid
  end
end

Replace `create` with `build` in adjustment metadata model specs
Replace `create` with `build` in adjustment metadata model specs
