Skip to content

Commit

Permalink
Just use bundler/setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Feb 19, 2025
1 parent 6cfb5a4 commit 553ec45
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

require 'pp'
require 'pathname'
FlipperRoot = Pathname(__FILE__).dirname.join('..').expand_path

require 'rubygems'
require 'bundler'

Bundler.setup(:default)
require 'bundler/setup'

require 'warning'
Warning.ignore(/lib\/statsd/)
Expand All @@ -27,6 +22,7 @@
require 'flipper/ui'
require 'flipper/test_help'

FlipperRoot = Pathname(__FILE__).dirname.join('..').expand_path
Dir[FlipperRoot.join('spec/support/**/*.rb')].sort.each { |f| require f }

# Disable telemetry logging in specs.
Expand Down

0 comments on commit 553ec45

Please sign in to comment.