diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 450a9ef..21b8bfc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -1,10 +1,3 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake -# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby - name: Tests on: [push, pull_request] @@ -13,10 +6,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [ '2.5', '2.6', '2.7', '3.0' ] + ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3' ] name: Ruby ${{ matrix.ruby }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/Gemfile b/Gemfile index 4fa1506..7f95710 100644 --- a/Gemfile +++ b/Gemfile @@ -9,4 +9,5 @@ gem 'pry' group :test do gem 'rspec', '~> 3' gem 'rack-test' + gem 'rack-session' end diff --git a/spec/warden/proxy_spec.rb b/spec/warden/proxy_spec.rb index c7b767f..4fbbab3 100644 --- a/spec/warden/proxy_spec.rb +++ b/spec/warden/proxy_spec.rb @@ -1,5 +1,8 @@ # encoding: utf-8 # frozen_string_literal: true + +require 'rack/session' + RSpec.describe Warden::Proxy do before(:all) do load_strategies