Skip to content

Commit

Permalink
Remove constant
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Jan 7, 2025
1 parent f0e7fe2 commit 3e41f5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/tapioca/addon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def initialize(*args)
FileUtils.rm("bin/rails")
end

EXPECTED_RBI_PATH = "spec/dummy/sorbet/rbi/dsl/notify_user_job.rbi"
it "generates DSL RBIs for a given constant" do
addon_path = File.expand_path("lib/ruby_lsp/tapioca/server_addon.rb")
T.must(@client).register_server_addon(File.expand_path(addon_path))
Expand All @@ -41,7 +40,7 @@ def initialize(*args)
begin
Timeout.timeout(10) do
sleep(1)
until File.exist?(EXPECTED_RBI_PATH)
until File.exist?("spec/dummy/sorbet/rbi/dsl/notify_user_job.rbi")
end
end
rescue Timeout::Error
Expand Down

0 comments on commit 3e41f5f

Please sign in to comment.