Sha256: dae298761ede9930e98428a7e4f613ee7d78cc1f08d9dd0ac05796f74609a48c
Contents?: true
Size: 247 Bytes
Versions: 2
Compression:
Stored size: 247 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Taxonomy do context "validation" do it { should have_valid_factory(:taxonomy) } end context "shoulda validations" do it {should validate_presence_of(:name) } end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
MyCommerceapi-1.0.0 | core/spec/models/taxonomy_spec.rb |
MyCommerce-0.0.3 | core/spec/models/taxonomy_spec.rb |