```ruby
require 'spec_helper'

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

Replace `create` with `build` in adjustment metadata model specs
user
```ruby
require 'spec_helper'

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