Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/solargraph/rspec/spec_walker/rspec_context_namespace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def from_block_ast(block_ast)
return unless block_ast.is_a?(::Parser::AST::Node)

ast = NodeTypes.context_description_node(block_ast)
return unless ast

if ast.type == :str
string_to_const_name(ast)
elsif NodeTypes.a_constant?(ast)
Expand Down