Sha256: 990eededb107f6d040926dd66e4cb2fea46ec5937e158fb6a1c3fd79ca661458

Contents?: true

Size: 203 Bytes

Versions: 53

Compression:

Stored size: 203 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper'

class <%= class_name %>Test < ActiveSupport::TestCase
<% for attribute in attributes -%>
  should_have_db_column :<%= attribute.name %>
<% end -%>
end

Version data entries

53 entries across 53 versions & 15 rubygems

Version Path
coreymartella-dmd_generator-0.2.3 rails_generators/dmd_model/templates/unit_test.rb
drd-shoulda_generator-0.2.1 rails_generators/shoulda_model/templates/unit_test.rb
jeffleeismyhero-shoulda_generator-0.3.0 rails_generators/shoulda_model/templates/unit_test.rb
jeffleeismyhero-shoulda_generator-0.3.1 rails_generators/shoulda_model/templates/unit_test.rb
martijn-shoulda_generator-0.2.1 rails_generators/shoulda_model/templates/unit_test.rb
martijn-shoulda_generator-0.2.2 rails_generators/shoulda_model/templates/unit_test.rb
mattyoho-shoulda_generator-0.2.1 rails_generators/shoulda_model/templates/unit_test.rb
sob-shoulda_generator-0.2.1 rails_generators/shoulda_model/templates/unit_test.rb
stefanpenner-my_generator-0.1.1 rails_generators/shoulda_model/templates/unit_test.rb
stefanpenner-my_generator-0.1.2 rails_generators/my_model/templates/unit_test.rb
stefanpenner-my_generator-0.1.3 rails_generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-0.1.3 rails_generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-1.0.0 generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-1.1.0 generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-1.2.0 generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-1.2.1 generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-1.4.0 generators/my_model/templates/unit_test.rb
stefanpenner-my_scaffold-1.4.1 generators/my_model/templates/unit_test.rb
stefanpenner-shoulda_generator-0.2.1 rails_generators/shoulda_model/templates/unit_test.rb
stefanpenner-shoulda_generator-0.2.2 rails_generators/shoulda_model/templates/unit_test.rb