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
rspec-rails-2.7.0.rc1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.6.1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.6.1.beta1 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.6.0 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.6.0.rc6 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.6.0.rc4 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.6.0.rc2 lib/generators/rspec/integration/templates/request_spec.rb
rspec-rails-2.5.0 lib/generators/rspec/integration/templates/request_spec.rb