Sha256: 5a2afe7c4e595730c5b53fe1e997f4a692c935ab15281009b35e07d751f959ca

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

require 'test_helper'

describe <%= class_name %> do
  before do
    @<%= file_name %> = <%= class_name %>.new
  end

  it "must be valid" do
    @<%= file_name %>.valid?.must_equal true
  end

  # describe "when doing its thing" do
  #   it "must be interesting" do
  #     @<%= file_name %>.blow_minds!
  #     @<%= file_name %>.interesting?.must_equal true
  #   end
  # end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minitest-rails-0.0.1 lib/generators/minitest/model/templates/model_spec.rb