Skip to content

Commit

Permalink
Fix Random Error in rake test
Browse files Browse the repository at this point in the history
Oxidized.asetus has to be initialized, the error was random because of
tests order.
Closes: #3240
  • Loading branch information
robertcheramy committed Aug 7, 2024
1 parent 52801c7 commit fe8500c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/output/git_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Note that #yield_repo_and_path is private, so we can not call it directy
# we use @git.send(:yield_repo_and_path, ...) to bypass the protection
before do
Oxidized.asetus = Asetus.new
# Default value in most tests
Oxidized.config.output.git.single_repo = true

Expand Down

0 comments on commit fe8500c

Please sign in to comment.