Sha256: 291d1d935e117d49ad70a8988385c8bc0f454ad3de8aee45d4091aad29d1a13b

Contents?: true

Size: 234 Bytes

Versions: 98

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

98 entries across 84 versions & 6 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.7.0/gems/capybara-3.32.2/lib/capybara/spec/session/response_code_spec.rb
capybara-3.32.2 lib/capybara/spec/session/response_code_spec.rb
capybara-3.32.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.32.0 lib/capybara/spec/session/response_code_spec.rb
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/capybara-3.31.0/lib/capybara/spec/session/response_code_spec.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/capybara-3.29.0/lib/capybara/spec/session/response_code_spec.rb
capybara-3.31.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.30.0 lib/capybara/spec/session/response_code_spec.rb
tdiary-5.1.0 vendor/bundle/gems/capybara-3.29.0/lib/capybara/spec/session/response_code_spec.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/spec/session/response_code_spec.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/spec/session/response_code_spec.rb
capybara-3.29.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.28.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.27.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.26.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.25.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.24.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.23.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.22.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.21.0 lib/capybara/spec/session/response_code_spec.rb