Skip to content
New issue

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

rake deface:test_selector[shared/_head,title] starts my tests #157

Open
stabenfeldt opened this issue Apr 7, 2016 · 1 comment
Open

Comments

@stabenfeldt
Copy link

$ rake deface:test_selector[shared/_head,title]
Running via Spring preloader in process 28589
/Users/martins/.rvm/rubies/ruby-2.2.3/bin/ruby -I/Users/martins/.rvm/gems/ruby-2.2.3@solidus/gems/rspec-core-3.3.2/lib:/Users/martins/.rvm/gems/ruby-2.2.3@solidus/gems/rspec-support-3.3.0/lib /Users/martins/.rvm/gems/ruby-2.2.3@solidus/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
gem 'solidus', path:  '/Users/martins/Work/Hoome/solidus', branch: 'master'
Run options: include {:focus=>true}

All examples were filtered out; ignoring {:focus=>true}

Randomized with seed 61475
...................................................

rake deface:test_all on the other hand, works as expected.

Versions
solidus (1.3.0.alpha)
deface (1.0.2)

@stabenfeldt
Copy link
Author

➜  rake deface:failures_by_virtual_path
Running via Spring preloader in process 29122
Error processing overrides for :virtual_path => ''
 undefined method `split' for nil:NilClass

Looks like the rspec task is only started if I provide params to the deface:failures_by_virtual_path task.

➜ rake deface:failures_by_virtual_path['spree/admin/orders/_carton']
Running via Spring preloader in process 29135
/Users/martins/.rvm/rubies/ruby-2.2.3/bin/ruby -I/Users/martins/.rvm/gems/ruby-2.2.3@solidus/gems/rspec-core-3.3.2/lib:/Users/martins/.rvm/gems/ruby-2.2.3@solidus/gems/rspec-support-3.3.0/lib /Users/martins/.rvm/gems/ruby-2.2.3@solidus/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb

I ran all of the deface tasks with and without arguments.

The rspec task is only triggered when I provide arguments. Without arguments they stop like this:

$ rake deface:test_selector
Failed to find template/partial
0 matches found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant