Skip to content

Multi-line context blocks not executed correctly. #80

@TTiger

Description

@TTiger

Unsure if this is an issue with the codeLens parsing/displaying or RSpec itself. It looks like RSpec wants the line number to be the one that has the corresponding do.

Executing RSpec with fileName:3 will filter out all of the examples.
Executing RSpec with fileName:5 will behave as expected.

3:  describe MyClass,
4:         tag1: :team,
5:         tag2: :unit do
6:   describe "#foo" do
7:    subject { described_class.foo }

The codeLens will attempt to execute fileName:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions