Sha256: 2fed6916339831c565383147335368d98ed002a447a4f2c227be48d252a2ca52

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

require 'spec_helper'

describe "/<%= class_name.underscore %>/<%= current_action %>" do
  before(:each) do
    render '<%= class_name.underscore %>/<%= current_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 %>/<%= current_action %>])
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec_rails3_gen-0.2.2 lib/generators/rspec/controller/templates/view_spec.rb
rspec_rails3_gen-0.2.0 lib/generators/rspec/controller/templates/view_spec.rb