Sha256: a63d978384ca9217857e48e85c45c07465ebf5533310dc7ddd76e0b92a41d248

Contents?: true

Size: 417 Bytes

Versions: 48

Compression:

Stored size: 417 Bytes

Contents

require 'spec_helper'

describe "<%= class_name.pluralize %>" do
  describe "GET /<%= table_name %>" do
    it "works! (now write some real specs)" do
<% if webrat? -%>
      visit <%= index_helper %>_path
<% else -%>
      # Run the generator again with the --webrat flag if you want to use webrat methods/matchers
      get <%= index_helper %>_path
<% end -%>
      response.status.should be(200)
    end
  end
end

Version data entries

48 entries across 43 versions & 5 rubygems

Version Path
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/rspec-rails-2.13.0/lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.99.0 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.99.0.rc1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.14.2 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.99.0.beta2 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.14.1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.99.0.beta1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.14.0 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.14.0.rc1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.13.2 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.13.1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.13.0 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.12.2 lib/generators/rspec/integration/templates/request_spec.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.12.1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.12.0 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.11.4 lib/generators/rspec/integration/templates/request_spec.rb
gem_repackager-0.1.0 support/gems/rspec-rails-2.11.0/lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.11.0 lib/generators/rspec/integration/templates/request_spec.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/integration/templates/request_spec.rb