Sha256: 3a5fc3790f176004430e951acd1ca2aea5eb7b6a87b9c1beb2b28fd575a26414

Contents?: true

Size: 477 Bytes

Versions: 82

Compression:

Stored size: 477 Bytes

Contents

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

describe "/<%= class_name.underscore %>/<%= action %>" do
  before(:each) 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', %r[Find me in app/views/<%= class_name.underscore %>/<%= action %>])
  end
end

Version data entries

82 entries across 82 versions & 13 rubygems

Version Path
PeterCoulton-rotten-generators-0.5.0 rails_generators/rotten_controller/templates/view_spec.rb
PeterCoulton-rotten-generators-0.5.1 rails_generators/rotten_controller/templates/view_spec.rb
PeterCoulton-rotten-generators-0.6.0 rails_generators/rotten_controller/templates/view_spec.rb
PeterCoulton-rotten-generators-0.7.0 rails_generators/rotten_controller/templates/view_spec.rb
PeterCoulton-rotten-generators-0.7.12 rails_generators/rotten_controller/templates/view_spec.rb
cavalle-rspec-rails-1.2.2.0.1 generators/rspec_controller/templates/view_spec.rb
cavalle-rspec-rails-1.2.2.0.2 generators/rspec_controller/templates/view_spec.rb
cavalle-rspec-rails-1.2.3.1 generators/rspec_controller/templates/view_spec.rb
cavalle-rspec-rails-1.2.4.0.1 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.10 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.1 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.2 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.3 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.4 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.5 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.6 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11.7 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.11 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.12 generators/rspec_controller/templates/view_spec.rb
dchelimsky-rspec-rails-1.1.6 generators/rspec_controller/templates/view_spec.rb