Sha256: 8febdac9873692a2efc037f54b1a55463bcb6e1a50daa78bfa7c25932964fc8d

Contents?: true

Size: 455 Bytes

Versions: 57

Compression:

Stored size: 455 Bytes

Contents

require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../../spec_helper'

describe "/<%= class_name.underscore %>/<%= action %>" do
  before do
    render '<%= class_name.underscore %>/<%= action %>'
  end

  # Delete this example and add some real ones or delete this file
  it "should tell you where to find the file" do
    response.should have_tag('p', 'Find me in app/views/<%= class_name.underscore %>/<%= action %>.rhtml')
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
trusty-cms-5.3.9 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.8 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.7 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.6 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.5 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.4 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.3 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.2 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3.1 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.3 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.2.3 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.2.2 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.2.1 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.2.0 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.1.0 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.0.9 lib/generators/extension_controller/templates/view_spec.rb
trusty-cms-5.0.7 lib/generators/extension_controller/templates/view_spec.rb