Sha256: 883eba3a9be00fd9ac22e86df213fe179793f8e99bf4deb0af35066afbb45095

Contents?: true

Size: 456 Bytes

Versions: 75

Compression:

Stored size: 456 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

75 entries across 75 versions & 9 rubygems

Version Path
spree-0.10.0.beta lib/generators/extension_controller/templates/view_spec.rb
spree-enriquez-0.9.4 lib/generators/extension_controller/templates/view_spec.rb
spree-0.9.4 lib/generators/extension_controller/templates/view_spec.rb
spree-0.9.3 lib/generators/extension_controller/templates/view_spec.rb
radiant-rc-0.9.0 lib/generators/extension_controller/templates/view_spec.rb
spree-0.9.2 lib/generators/extension_controller/templates/view_spec.rb
spree-0.9.1 lib/generators/extension_controller/templates/view_spec.rb
spree-0.9.0 lib/generators/extension_controller/templates/view_spec.rb
radiant-0.8.1 lib/generators/extension_controller/templates/view_spec.rb
spree-0.8.4 lib/generators/extension_controller/templates/view_spec.rb
spree-0.8.5 lib/generators/extension_controller/templates/view_spec.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb
has_finder-0.1.1 spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb
radiant-0.6.5.1 lib/generators/extension_controller/templates/view_spec.rb
radiant-0.6.5 lib/generators/extension_controller/templates/view_spec.rb
radiant-0.6.6 lib/generators/extension_controller/templates/view_spec.rb
radiant-0.6.7 lib/generators/extension_controller/templates/view_spec.rb
radiant-0.6.8 lib/generators/extension_controller/templates/view_spec.rb
radiant-0.6.9 lib/generators/extension_controller/templates/view_spec.rb