Sha256: d518df5f62075590a0b9f5b7dcda7cefd7825ecb9ada0bbd17811566ed38ab1b

Contents?: true

Size: 216 Bytes

Versions: 12

Compression:

Stored size: 216 Bytes

Contents

require "test_helper"

<% module_namespacing do -%>
describe <%= class_name %> do
  let(:<%= file_name %>) { <%= class_name %>.new }

  it "must be valid" do
    <%= file_name %>.must_be :valid?
  end
end
<% end -%>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
minitest-rails-2.1.1 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-2.1.0 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-2.0.3 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-2.0.2 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-2.0.1 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-2.0.0 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-1.0.1 lib/generators/mini_test/model/templates/model_spec.rb
minitest-rails-2.0.0.beta1 lib/generators/minitest/model/templates/model_spec.rb
minitest-rails-1.0.0 lib/generators/mini_test/model/templates/model_spec.rb
minitest-rails-1.0.0.beta3 lib/generators/mini_test/model/templates/model_spec.rb
minitest-rails-1.0.0.beta2 lib/generators/mini_test/model/templates/model_spec.rb
minitest-rails-1.0.0.beta1 lib/generators/mini_test/model/templates/model_spec.rb