Skip to content

Commit

Permalink
move git fixture to contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Jan 30, 2024
1 parent d68c6d9 commit 18240eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
require_relative "support/tracer_helpers"
require_relative "support/span_helpers"
require_relative "support/platform_helpers"
require_relative "support/git_helpers"
require_relative "support/provider_test_helpers"
require_relative "support/test_visibility_event_serialized"

# shared contexts
require_relative "support/contexts/ci_mode"
require_relative "support/contexts/concurrency_test"
require_relative "support/contexts/git_fixture"

require "rspec/collection_matchers"
require "climate_control"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FIXTURE_DIR = "#{File.dirname(__FILE__)}/fixtures/" # rubocop:disable all
# Git fixture shared context sets up an example git repository in the ../fixture directory.
# Used to test git integration.

FIXTURE_DIR = "#{File.dirname(__FILE__)}/../fixtures/" # rubocop:disable all

shared_context "with git fixture" do |git_fixture|
let(:environment_variables) do
Expand Down

0 comments on commit 18240eb

Please sign in to comment.