Skip to content

spring rspec doesn't respect rspec's default file matching pattern #7

Closed
@george

Description

@george

OS X: 10.8.5

∴ rails -v
Rails 4.1.0.beta1

∴ glg spring
spring (1.1.0)
spring-commands-rspec (1.0.1)

∴ rspec -v
2.14.7

Running a bare rspec command correctly picks up all example files matching the pattern: spec/**/*_spec.rb (per the spec).

∴ rspec
.........

Finished in 0.89628 seconds
9 examples, 0 failures

However, running spring rspec either does nothing or doesn't find the examples. Here I run spring rspec 3 times:

∴ spring rspec
projekt/ on rails_4.1.0.beta1
∴ spring rspec
projekt/ on rails_4.1.0.beta1
∴ spring rspec
projekt/ on rails_4.1.0.beta1
∴ No examples found.


Finished in 0.00033 seconds
0 examples, 0 failures

I've also tried adding --default_path specs to my .rspec file, with the unexpected behavior persisting.

Any ideas what I'm doing wrong or how I can fix it? I'm more than happy to contribute, I just need a little direction. Thanks.

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