Files
openfoodnetwork/spec/models/spree/product_property_spec.rb
Maikel Linke dcb6f4676d Remove all unnecessary spec_helper require statements
The `.rspec` file is doing this for us.
2026-01-21 12:35:34 +11:00

12 lines
258 B
Ruby

# frozen_string_literal: true
RSpec.describe Spree::ProductProperty do
context "validations" do
it "should validate length of value" do
pp = create(:product_property)
pp.value = "x" * 256
expect(pp).not_to be_valid
end
end
end