Skip to content

Commit

Permalink
πŸ‘ change rspec file path
Browse files Browse the repository at this point in the history
I remove lib directory for rspec to access specs easily.
  • Loading branch information
byplayer committed Nov 3, 2024
1 parent 04ac39b commit 9a4c917
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# typed: false
# frozen_string_literal: true

require_relative "../../../spec_helper"
require_relative "spec_helper"

RSpec.describe RubyLsp::RSpec do
include RubyLsp::TestHelper
Expand Down Expand Up @@ -192,7 +192,7 @@ class FooBar
end

context "when there's a binstub" do
let(:binstub_path) { File.expand_path("../../../../bin/rspec", __dir__) }
let(:binstub_path) { File.expand_path("../bin/rspec", __dir__) }

before do
File.write(binstub_path, <<~RUBY)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# typed: false
# frozen_string_literal: true

require_relative "../../../spec_helper"
require_relative "spec_helper"

RSpec.describe RubyLsp::RSpec do
include RubyLsp::TestHelper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# typed: false
# frozen_string_literal: true

require_relative "../../../spec_helper"
require_relative "spec_helper"

RSpec.describe RubyLsp::RSpec do
include RubyLsp::TestHelper
Expand Down

0 comments on commit 9a4c917

Please sign in to comment.