We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I'm trying to accomplish something like this for some tests:
watch(%r{^app/models/(.+).rb}) { |m| "-P 'spec/features/*#{m[1]}*/*'" }
If I call straight from my console:
rspec -P 'spec/features/*#{m[1]}*/*' it works as expected, but I cannot seem to be able to make this work using guard-rspec.
rspec -P 'spec/features/*#{m[1]}*/*'
I also tried it like so: watch(%r{^app/models/(.+).rb}) { |m| "-P #{rspec.spec.call("/features/*#{m[1]}*/*"} }
watch(%r{^app/models/(.+).rb}) { |m| "-P #{rspec.spec.call("/features/*#{m[1]}*/*"} }
All to no avail.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello! I'm trying to accomplish something like this for some tests:
watch(%r{^app/models/(.+).rb}) { |m| "-P 'spec/features/*#{m[1]}*/*'" }
If I call straight from my console:
rspec -P 'spec/features/*#{m[1]}*/*'
it works as expected, but I cannot seem to be able to make this work using guard-rspec.I also tried it like so:
watch(%r{^app/models/(.+).rb}) { |m| "-P #{rspec.spec.call("/features/*#{m[1]}*/*"} }
All to no avail.
The text was updated successfully, but these errors were encountered: