Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update deprecated Guard::RSpec command-line configuration

  • Loading branch information...
commit 233c19d8b9f2505c0c476a4e8eb27b793acb8025 1 parent 0e91658
Nils Jonsson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Guardfile
2  Guardfile
View
@@ -3,7 +3,7 @@ interactor :off
guard :rspec, :all_after_pass => true,
:all_on_start => false,
:keep_failed => false,
- :cli => '--debug' do
+ :cmd => "bundle exec rspec --debug #{File.read('.rspec').chomp.gsub "\n", ' '}" do
# Run the corresponding spec (or all specs) when code changes.
watch(%r{^lib/(.+)\.rb$}) do |match|
Dir["spec/#{match[1]}_spec.rb"].first || 'spec'
Please sign in to comment.
Something went wrong with that request. Please try again.