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 36c74f7 commit 8a842ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spec/integration/omniauth/Rakefile
Expand Up @@ -4,8 +4,9 @@ namespace :perf do
task :setup do
require 'omniauth'
require 'rack/test'
require 'securerandom'
app = Rack::Builder.new do |b|
b.use Rack::Session::Cookie, secret: 'abc123'
b.use Rack::Session::Cookie, secret: SecureRandom.hex(64)
b.use OmniAuth::Strategies::Developer
b.run ->(_env) { [200, {}, ['Not Found']] }
end.to_app
Expand Down
3 changes: 2 additions & 1 deletion spec/integration/omniauth/app.rb
@@ -1,8 +1,9 @@
require 'sinatra'
require 'omniauth'
require 'securerandom'

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

get '/' do
Expand Down

0 comments on commit 8a842ef

Please sign in to comment.