Skip to content

Commit

Permalink
Add devise integration tests
Browse files Browse the repository at this point in the history
* Replace rack-activerecord group to rails-app
  • Loading branch information
Strech committed Feb 12, 2025
1 parent 74cd014 commit 0bb54b2
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Matrixfile
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
'rack-1' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ❌ 3.3 / ❌ 3.4 / ✅ jruby',
},
'appsec:integration' => {
'rack-activerecord' => '❌ 2.5 / ❌ 2.6 / ❌ 2.7 / ❌ 3.0 / ❌ 3.1 / ❌ 3.2 / ✅ 3.3 / ❌ 3.4 / ❌ jruby',
'rails-app' => '❌ 2.5 / ❌ 2.6 / ❌ 2.7 / ❌ 3.0 / ❌ 3.1 / ❌ 3.2 / ✅ 3.3 / ❌ 3.4 / ❌ jruby',
},
'appsec:sinatra' => {
'sinatra-2' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ jruby',
Expand Down
11 changes: 6 additions & 5 deletions appraisal/ruby-3.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,11 @@
gem 'dogstatsd-ruby', '~> 4'
end

appraise 'rack-activerecord' do
gem "rack", "~> 2"
gem 'rack-contrib'
appraise 'rails-app' do
gem 'devise', '~> 4.9'
gem 'rack', '~> 2'
gem 'rack-contrib', '~> 2'
gem 'rack-test' # Dev dependencies for testing rack-based code
gem "activerecord", "~> 7"
gem "sqlite3", ">= 1.4.2", platform: :ruby
gem 'rails', '~> 7.0'
gem 'sqlite3', '>= 1.4.2', platform: :ruby
end

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0bb54b2

Please sign in to comment.