Sha256: 291d1d935e117d49ad70a8988385c8bc0f454ad3de8aee45d4091aad29d1a13b

Contents?: true

Size: 234 Bytes

Versions: 97

Compression:

Stored size: 234 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

97 entries across 83 versions & 5 rubygems

Version Path
capybara-3.11.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.11.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.10.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.10.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.9.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.8.2 lib/capybara/spec/session/response_code_spec.rb
capybara-3.8.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.8.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.7.2 lib/capybara/spec/session/response_code_spec.rb
capybara-3.7.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.7.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.6.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.5.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.5.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.4.2 lib/capybara/spec/session/response_code_spec.rb
capybara-3.4.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.4.0 lib/capybara/spec/session/response_code_spec.rb