Sha256: a986f46d92adf89c142484f170597c2d9d953ec6234e369f48f1ca5d7b96b073

Contents?: true

Size: 174 Bytes

Versions: 12

Compression:

Stored size: 174 Bytes

Contents

require 'test_helper'

class <%= class_name %>Test < ActiveSupport::TestCase
  should "be valid with factory" do
    assert_valid Factory.build(:<%= file_name -%>)
  end
end

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
mongo_mapper_generators-1.0.5 rails_generators/mongo_model/templates/unit_test.rb
mongo_mapper_generators-1.0.5 rails_generators/embedded_model/templates/unit_test.rb
mongo_mapper_generators-1.0.4 rails_generators/embedded_model/templates/unit_test.rb
mongo_mapper_generators-1.0.4 rails_generators/mongo_model/templates/unit_test.rb
mongo_mapper_generators-1.0.3 rails_generators/embedded_model/templates/unit_test.rb
mongo_mapper_generators-1.0.3 rails_generators/mongo_model/templates/unit_test.rb
mongo_mapper_generators-1.0.2 rails_generators/embedded_model/templates/unit_test.rb
mongo_mapper_generators-1.0.2 rails_generators/mongo_model/templates/unit_test.rb
mongo_mapper_generators-1.0.1 rails_generators/mongo_model/templates/unit_test.rb
mongo_mapper_generators-1.0.1 rails_generators/embedded_model/templates/unit_test.rb
mongo_mapper_generators-1.0.0 rails_generators/embedded_model/templates/unit_test.rb
mongo_mapper_generators-1.0.0 rails_generators/mongo_model/templates/unit_test.rb