Skip to content

Commit

Permalink
Run bundle_install before each deadcode test
Browse files Browse the repository at this point in the history
  • Loading branch information
KaanOzkan committed Apr 18, 2024
1 parent 8ea466e commit e961e25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/spoom/cli/deadcode_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
module Spoom
module Cli
class DeadcodeTest < TestWithProject
def setup
@project.bundle_install!
end

def test_deadcode_without_deadcode
@project.write!("lib/foo.rb", <<~RUBY)
def foo; end
Expand Down

0 comments on commit e961e25

Please sign in to comment.