Sha256: 75630e671bb148337aeb2577e9f0a507677c37f69ac87326ec6003ef27467ca1

Contents?: true

Size: 480 Bytes

Versions: 8

Compression:

Stored size: 480 Bytes

Contents

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

describe "/<%= file_name %>/<%= @action %>.html.<%= options[:template_engine] %>" do
  before(:each) do
    render '<%= file_name %>/<%= @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/<%= file_path %>/<%= @action %>])
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
rspec-rails-2.0.0.a3 lib/generators/rspec/controller/templates/view_spec.rb
rspec-rails-2.0.0.a2 lib/generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.3.3 lib/generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.3.2 lib/generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.3.1 lib/generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.3.0 lib/generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.2.0 lib/generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.1.0 lib/generators/rspec/controller/templates/view_spec.rb