Permalink
Browse files

Update deprecated Guard::RSpec command-line configuration

  • Loading branch information...
1 parent 0e91658 commit 233c19d8b9f2505c0c476a4e8eb27b793acb8025 @njonsson committed Nov 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'

0 comments on commit 233c19d

Please sign in to comment.