Sha256: a4da5121f01f877563efa533e295420d7f1e935511b5dffaab7cdd8661ddc514

Contents?: true

Size: 201 Bytes

Versions: 12

Compression:

Stored size: 201 Bytes

Contents

Capybara::SpecHelper.spec '#status_code' do
  it "should return response codes", :requires => [:status_code] do
    @session.visit('/with_simple_html')
    @session.status_code.should == 200
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
capybara-2.2.1 lib/capybara/spec/session/response_code.rb
capybara-2.2.0 lib/capybara/spec/session/response_code.rb
capybara-2.2.0.rc1 lib/capybara/spec/session/response_code.rb
swipe-rails-0.0.5 vendor/bundle/gems/capybara-2.1.0/lib/capybara/spec/session/response_code.rb
capybara-2.1.0 lib/capybara/spec/session/response_code.rb
capybara-2.1.0.rc1 lib/capybara/spec/session/response_code.rb
capybara-2.0.3 lib/capybara/spec/session/response_code.rb
capybara-2.1.0.beta1 lib/capybara/spec/session/response_code.rb
capybara-2.0.2 lib/capybara/spec/session/response_code.rb
capybara-2.0.1 lib/capybara/spec/session/response_code.rb
capybara-2.0.0 lib/capybara/spec/session/response_code.rb
capybara-2.0.0.beta4 lib/capybara/spec/session/response_code.rb