Sha256: 885369d826b44a1897b3e7a125b44e18e20cffd2f1ba51735b24f8d48df04840

Contents?: true

Size: 195 Bytes

Versions: 4

Compression:

Stored size: 195 Bytes

Contents

require_relative '../spec_helper'

describe <%= res_name.classify %> do
  let(:<%= res_name %>) { create(:<%= res_name %>) }

  it 'is valid' do
    expect(<%= res_name %>).to be_valid
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grapethor-0.2.3 lib/grapethor/templates/resource_rspec/spec/models/%res_name%_spec.rb.tt
grapethor-0.2.2 lib/grapethor/templates/resource_rspec/spec/models/%res_name%_spec.rb.tt
grapethor-0.2.1 lib/grapethor/templates/resource_rspec/spec/models/%res_name%_spec.rb.tt
grapethor-0.2.0 lib/grapethor/templates/resource_rspec/spec/models/%res_name%_spec.rb.tt