Skip to content

Commit

Permalink
Fix errors happening in tests because of vips.
Browse files Browse the repository at this point in the history
  • Loading branch information
khustochka committed May 3, 2024
1 parent a420dfc commit 032d8dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# frozen_string_literal: true

# Required to prevent vips issues on MacOS
# See https://github.com/libvips/ruby-vips/issues/155
require "vips"

# In some situations Rails is not yet loaded here, so present? will not work.
if ENV["COVERAGE"] && ENV["COVERAGE"] != ""
require "simplecov"
Expand Down

0 comments on commit 032d8dc

Please sign in to comment.