Sha256: 5cb775009be8ffc28071079b0a07726c5820dcbf4cf0fccf8e849b110a6c231d

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

require 'spec_helper'

describe "/<%= class_name.underscore %>/<%= name %>.<%= format %>" do
  subject do
<% if format == "html" -%>
    render '<%= class_name.underscore %>/<%= name %>.<%= format %>'
<% else -%>
    render '<%= class_name.underscore %>/<%= name %>.<%= format %>.<%= engine %>'
<% end -%>
    response
  end

  it "should render" do
    should be
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
terraformation-0.2.2 rails_generators/terracontroller/templates/view_spec.rb.erb
terraformation-0.2.1 rails_generators/terracontroller/templates/view_spec.rb.erb
terraformation-0.2.0 rails_generators/terracontroller/templates/view_spec.rb.erb