Sha256: 2e170f07013e8c41e1a12075ab5cb33825a593ecb5211815c91418f1b0432428
Contents?: true
Size: 635 Bytes
Versions: 18
Compression:
Stored size: 635 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' module ProductPropertySpecHelper def valid_product_property_attributes { :value => "x" } end end describe ProductProperty do include ProductPropertySpecHelper before(:each) do @product_property = ProductProperty.new end it "should not be valid when empty" do @product_property.should_not be_valid end it "should be valid when having correct information" do pending "Shouldn't it require a product and a property too?" @product_property.attributes = valid_product_property_attributes @product_property.should be_valid end end
Version data entries
18 entries across 18 versions & 3 rubygems