Sha256: 0d698fb351d489c550d455b595f844c48f6d6dceb92224ddd9c8ed28c6a66d92

Contents?: true

Size: 233 Bytes

Versions: 31

Compression:

Stored size: 233 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

31 entries across 27 versions & 3 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/capybara-2.18.0/lib/capybara/spec/session/response_code.rb
tdiary-5.0.8 vendor/bundle/ruby/2.5.0/gems/capybara-2.18.0/lib/capybara/spec/session/response_code.rb
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/capybara-2.16.1/lib/capybara/spec/session/response_code.rb
capybara-2.18.0 lib/capybara/spec/session/response_code.rb
capybara-2.17.0 lib/capybara/spec/session/response_code.rb
tdiary-5.0.7 vendor/bundle/gems/capybara-2.16.1/lib/capybara/spec/session/response_code.rb
capybara-2.16.1 lib/capybara/spec/session/response_code.rb
capybara-2.16.0 lib/capybara/spec/session/response_code.rb
capybara-2.15.4 lib/capybara/spec/session/response_code.rb
capybara-2.15.3 lib/capybara/spec/session/response_code.rb
capybara-2.15.2 lib/capybara/spec/session/response_code.rb
tdiary-5.0.6 vendor/bundle/gems/capybara-2.15.1/lib/capybara/spec/session/response_code.rb
capybara-2.15.1 lib/capybara/spec/session/response_code.rb
capybara-2.15.0 lib/capybara/spec/session/response_code.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/capybara-2.13.0/lib/capybara/spec/session/response_code.rb
tdiary-5.0.5 vendor/bundle/gems/capybara-2.13.0/lib/capybara/spec/session/response_code.rb
tdiary-5.0.5 vendor/bundle/gems/capybara-2.14.3/lib/capybara/spec/session/response_code.rb
capybara-2.14.4 lib/capybara/spec/session/response_code.rb
capybara-2.14.3 lib/capybara/spec/session/response_code.rb
capybara-2.14.2 lib/capybara/spec/session/response_code.rb