Sha256: c07c6ab3517eb50f9dde59a49386884ad9b1453ad28fd9c2bd7d42c53b33eda2

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

require 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', /Find me in app\/views\/<%= class_name.underscore %>\/<%= action %>/)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.1.6 rails_plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb
picolena-0.1.7 rails_plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb
picolena-0.1.8 rails_plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb