Sha256: 1d63acbe9a57e6454c2d8875f1028cd2d8e9ffd8a764d22625cb7a927d3e6511

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

require_relative '../test_helper'

class <%= res_name.classify %>Test < TestCase
  def setup
    super
    @<%= res_name %> = <%= res_name.pluralize %>(:one)
  end

  def teardown
    super
  end


  def test_valid_<%= res_name %>
    assert @<%= res_name %>.valid?
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grapethor-0.2.3 lib/grapethor/templates/resource_minitest/test/models/%res_name%_test.rb.tt
grapethor-0.2.2 lib/grapethor/templates/resource_minitest/test/models/%res_name%_test.rb.tt
grapethor-0.2.1 lib/grapethor/templates/resource_minitest/test/models/%res_name%_test.rb.tt
grapethor-0.2.0 lib/grapethor/templates/resource_minitest/test/models/%res_name%_test.rb.tt