Sha256: 13698ecfd38b1e392d8a53a0bb3bd9651f326f2627f63f677e9c65cbccd2c6dd
Contents?: true
Size: 332 Bytes
Versions: 18
Compression:
Stored size: 332 Bytes
Contents
require 'spec_helper' describe <%= class_name %> do before(:each) do @valid_attributes = { <%= attributes.map{|a| ":#{a.name_or_reference} => #{a.default_value}" }.join(",\n ") %> } end it "should create a new instance given valid attributes" do <%= class_name %>.create!(@valid_attributes) end end
Version data entries
18 entries across 18 versions & 7 rubygems