Skip to content

Commit

Permalink
Update hover test case to reflect the change in the latest ruby-lsp
Browse files Browse the repository at this point in the history
After Shopify/ruby-lsp#1280, the hover request
will now contain information about the class's information too.

This previously was not the case because this project has Sorbet
in the depdenencies.
  • Loading branch information
st0012 committed Jan 11, 2024
1 parent 637b3ef commit 133dc1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/ruby_lsp_rails/hover_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class User < ApplicationRecord
RUBY

assert_equal(<<~CONTENT, response.contents.value)
```ruby
User
```
**Definitions**: [fake.rb](file:///fake.rb#L1,1-2,4)
[Schema](file://#{@client.root}/db/schema.rb)
**id**: integer
Expand Down

0 comments on commit 133dc1c

Please sign in to comment.