Skip to content

Commit

Permalink
Merge pull request flippercloud#833 from pbstriker38/fix_tests
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
bkeepers authored Feb 2, 2024
2 parents 5102d4e + c757e3b commit 2abe198
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
--health-timeout 5s
--health-retries 5
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0']
Expand Down
1 change: 1 addition & 0 deletions lib/flipper/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def self.app(flipper = nil, options = {})
yield builder if block_given?
builder.use Rack::Head
builder.use Rack::Deflater
builder.use Rack::RewindableInput::Middleware if Gem::Version.new(Rack.release) >= Gem::Version.new('3.0.0')
builder.use Flipper::Api::JsonParams
builder.use Flipper::Middleware::SetupEnv, flipper, env_key: env_key
builder.use Flipper::Api::Middleware, env_key: env_key
Expand Down
2 changes: 1 addition & 1 deletion spec/flipper/adapters/active_record_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SpecHelpers.silence { require 'flipper/adapters/active_record' }
require 'active_support/core_ext/kernel'
require 'active_support/core_ext/hash/indifferent_access'

# Turn off migration logging for specs
ActiveRecord::Migration.verbose = false
Expand Down

0 comments on commit 2abe198

Please sign in to comment.