Sha256: 83b11adf80ffe05c771d386c04a949066de47da20b8a5f61f3feac9c1451415e
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
require "minitest_helper" class <%= class_name %>Test < MiniTest::Rails::Model before do @<%= file_name %> = <%= class_name %>.new end it "must be valid" do @<%= file_name %>.valid?.must_equal true end it "must be a real test" do flunk "Need real tests" 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minitest-rails-0.0.5 | lib/generators/mini_test/model/templates/model_spec.rb |
minitest-rails-0.0.4 | lib/generators/mini_test/model/templates/model_spec.rb |