Skip to content

Commit

Permalink
Skip for Gemfile-rails-main
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Jan 12, 2024
1 parent e1732ba commit d9b0d4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ruby_lsp_rails/rails_client_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class RailsClientTest < ActiveSupport::TestCase
end

test "instantiation finds the right directory when bundle gemfile points to .ruby-lsp" do
skip if ENV["BUNDLE_GEMFILE"]&.end_with?("gemfiles/Gemfile-rails-main")

previous_bundle_gemfile = ENV["BUNDLE_GEMFILE"]
project_root = Pathname.new(previous_bundle_gemfile).dirname

Expand Down

0 comments on commit d9b0d4e

Please sign in to comment.