Sha256: fb53cd20186194d8098c1b3da26404e25c969e7a9e4bd6f937f2d8ee00c9f5f1

Contents?: true

Size: 234 Bytes

Versions: 13

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

13 entries across 13 versions & 2 rubygems

Version Path
tdiary-5.0.9 vendor/bundle/gems/capybara-3.2.1/lib/capybara/spec/session/response_code_spec.rb
capybara-3.3.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.3.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.2.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.2.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.1.1 lib/capybara/spec/session/response_code_spec.rb
capybara-3.1.0 lib/capybara/spec/session/response_code_spec.rb
capybara-3.0.3 lib/capybara/spec/session/response_code.rb
capybara-3.0.2 lib/capybara/spec/session/response_code.rb
capybara-3.0.1 lib/capybara/spec/session/response_code.rb
capybara-3.0.0 lib/capybara/spec/session/response_code.rb
capybara-3.0.0.rc2 lib/capybara/spec/session/response_code.rb
capybara-3.0.0.rc1 lib/capybara/spec/session/response_code.rb