Sha256: bc14afc7fac4c7215ca3980abc9c2c177cbb7fcac20c5dc934b3aed8cf20760d

Contents?: true

Size: 396 Bytes

Versions: 7

Compression:

Stored size: 396 Bytes

Contents

require '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

7 entries across 7 versions & 2 rubygems

Version Path
rails3-generators-0.5.2 lib/replaced_by_lib_generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.5.1 lib/replaced_by_lib_generators/rspec/controller/templates/view_spec.rb
rails3-generators-0.5.0 lib/replaced_by_lib_generators/rspec/controller/templates/view_spec.rb
rspec-rails-2.0.0.a7 lib/generators/rspec/controller/templates/view_spec.rb
rspec-rails-2.0.0.a6 lib/generators/rspec/controller/templates/view_spec.rb
rspec-rails-2.0.0.a5 lib/generators/rspec/controller/templates/view_spec.rb
rspec-rails-2.0.0.a4 lib/generators/rspec/controller/templates/view_spec.rb