Closed barelyknown closed 9 years ago
RSpec allows rails_helper or spec_helper to be required by default through configuration of the .rspec file:
RSpec
rails_helper
spec_helper
.rspec
--color --require rails_helper
Therefore, atom-ruby-test mistakes RSpec specs for Minitest specs when the require is omitted because it uses this RegExp:
atom-ruby-test
Minitest
RegExp
rspecRequireRegExp = new RegExp(/^require(\s+)['"](rails|spec)_helper['"]$/)
@barelyknown: Can you check out the latest release and let me know if that fixes it for you?
Looks good :+1: Thanks!
RSpec
allowsrails_helper
orspec_helper
to be required by default through configuration of the.rspec
file:Therefore,
atom-ruby-test
mistakesRSpec
specs forMinitest
specs when the require is omitted because it uses thisRegExp
: