Skip to content

Commit

Permalink
Updated watcher to use bundle exec
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsofapollo committed May 27, 2011
1 parent 1c324f2 commit d8da4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rspec.watchr
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ def run(cmd)
end

def run_all_specs
run "rspec spec"
run "bundle exec rspec spec"
end

def run_single_spec *spec
spec = spec.join(' ')
run "rspec #{spec}"
run "bundle exec rspec #{spec}"
end

def run_specs_with_shared_examples(shared_example_filename, spec_path = 'spec')
Expand Down

0 comments on commit d8da4eb

Please sign in to comment.