Skip to content

Commit

Permalink
Fix: integration tests in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Apr 11, 2024
1 parent 639859e commit 7f10009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/integration/omniauth/Rakefile
Expand Up @@ -5,7 +5,7 @@ namespace :perf do
require 'omniauth'
require 'rack/test'
app = Rack::Builder.new do |b|
b.use Rack::Session::Cookie, secret: 'abc123'
b.use Rack::Session::Cookie, secret: ActiveSupport::SecureRandom.hex(64)
b.use OmniAuth::Strategies::Developer
b.run ->(_env) { [200, {}, ['Not Found']] }
end.to_app
Expand Down
2 changes: 1 addition & 1 deletion spec/integration/omniauth/app.rb
Expand Up @@ -2,7 +2,7 @@
require 'omniauth'

class MyApplication < Sinatra::Base
use Rack::Session::Cookie, secret: 'hashie integration tests'
use Rack::Session::Cookie, secret: ActiveSupport::SecureRandom.hex(64)
use OmniAuth::Strategies::Developer

get '/' do
Expand Down

0 comments on commit 7f10009

Please sign in to comment.