Skip to content

Commit

Permalink
Use bundle exec rspec for dispatching in .projections.json
Browse files Browse the repository at this point in the history
This will make sure that the correct versions of the gems we depend on
are used when running tests this way.
  • Loading branch information
lencioni committed Feb 22, 2016
1 parent e1fec6a commit 219413b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .projections.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"lib/scss_lint/*.rb": {
"alternate": "spec/scss_lint/{}_spec.rb",
"type": "source",
"dispatch": "rspec spec/scss_lint/{}_spec.rb"
"dispatch": "bundle exec rspec spec/scss_lint/{}_spec.rb"
},
"spec/scss_lint/*_spec.rb": {
"alternate": "lib/scss_lint/{}.rb",
"type": "test",
"dispatch": "rspec {file}"
"dispatch": "bundle exec rspec {file}"
}
}

0 comments on commit 219413b

Please sign in to comment.