Sha256: 31426aa2e24cdd0189f31bf52d52205bf9bb73598fc9a392056e4d05d7767250

Contents?: true

Size: 307 Bytes

Versions: 17

Compression:

Stored size: 307 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../test_config.rb')

describe "<%= @model if @model %> Model" do

  describe "constructor" do
    before do
      @<%= @singular %> = <%= @model %>.new
    end

    it "can construct a new instance" do
      refute_nil @<%= @singular %>
    end
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
lazy-head-gen-0.6.0 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.5.1 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.5.0 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.4.3 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.4.2 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.4.1 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.4.0 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.3.4 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.3.3 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.3.2 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.3.1 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.3.0 lib/lazy-head-gen/templates/scaffold/model_test.rb.tt
lazy-head-gen-0.2.0 lib/lazy-head-gen/templates/model_test.rb.tt
lazy-head-gen-0.1.3 lib/lazy-head-gen/templates/model_test.rb.tt
lazy-head-gen-0.1.2 lib/lazy-head-gen/templates/model_test.rb.tt
lazy-head-gen-0.1.1 lib/lazy-head-gen/templates/model_test.rb.tt
lazy-head-gen-0.1.0 lib/lazy-head-gen/templates/model_test.rb.tt