Skip to content

Commit

Permalink
wip test fix against CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrocha committed Jan 8, 2025
1 parent 7573185 commit bc29ae7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/tapioca/ruby_lsp/run_gem_rbi_check_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ module Foo

def setup_git_repo
@project.exec("git init")
@project.exec("git config user.email '[email protected]'")
@project.exec("git config user.name 'Test User'")
@project.exec("touch Gemfile.lock")
FileUtils.mkdir_p("#{@project.absolute_path}/sorbet/rbi/gems")
@project.exec("git add . && git commit -m 'Initial commit'")
@project.exec("git add .")
@project.exec("git commit -m 'Initial commit'")
end

it "does nothing if there is no git repo" do
Expand Down

0 comments on commit bc29ae7

Please sign in to comment.