Skip to content

Commit

Permalink
Merge pull request #213 from masterT/master
Browse files Browse the repository at this point in the history
Fix test with `rack` >= 3 and test with Ruby > 3.0
  • Loading branch information
jsmestad authored Sep 7, 2024
2 parents 88d2f59 + da0c8af commit 9445064
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -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]

Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ gem 'pry'
group :test do
gem 'rspec', '~> 3'
gem 'rack-test'
gem 'rack-session'
end
3 changes: 3 additions & 0 deletions spec/warden/proxy_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# encoding: utf-8
# frozen_string_literal: true

require 'rack/session'

RSpec.describe Warden::Proxy do
before(:all) do
load_strategies
Expand Down

0 comments on commit 9445064

Please sign in to comment.