require 'spec_helper'

describe Spree::ProductProperty do

  context "validations" do
    it { should have_valid_factory(:product_property) }
    it "should validate length of value" do
      pp = Factory(:product_property)
      pp.value = "x" * 256
      pp.should_not be_valid
    end

  end

end
