You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working with guard and is great, but always when I run rspec --drb in guard with spork I have the result printed twice. I'm not sure if the error is in this gem, I decide post here because the error is fixed if I remove "--drb".
[1] guard(main)>
16:59:06 - INFO - Run all
16:59:06 - INFO - Running all specs
Running tests with args ["--color", "--failure-exit-code", "2", "--format", "documentation", "--format", "Guard::RSpecFormatter", "--require", "/home/heber/.rvm/gems/ruby-2.1.2@datanovo/gems/guard-rspec-4.4.2/lib/guard/rspec_formatter.rb", "spec"]...
Run options:
include {:focus=>true}
exclude {:slow=>true}
Run options:
include {:focus=>true}
exclude {:slow=>true}
All examples were filtered out; ignoring {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Guardfile:
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('config/application.rb')
watch('config/environment.rb')
watch(%r{^config/environments/.*\.rb$})
watch(%r{^config/initializers/.*\.rb$})
watch('Gemfile.lock')
watch('spec/spec_helper.rb') { :rspec }
watch('test/test_helper.rb') { :test_unit }
watch(%r{features/support/}) { :cucumber }
end
guard :rspec, cmd: 'rspec --drb' do
watch('spec/spec_helper.rb') { "spec" }
watch('config/routes.rb') { "spec/routing" }
watch('app/controllers/application_controller.rb') { "spec/controllers" }
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
end
guard 'livereload' do
watch(%r{app/views/.+\.(erb|haml|slim)$})
watch(%r{app/helpers/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html))).*}) { |m| "/assets/#{m[3]}" }
end
.rspec File
--color
--format documentation
Thanks for your time, warmest regards.
The text was updated successfully, but these errors were encountered:
heberuriegas
changed the title
Rspec run print summary twice
rspec --drb run print summary twice
Dec 11, 2014
heberuriegas
changed the title
rspec --drb run print summary twice
rspec --drb print summary twice
Dec 11, 2014
I have been working with guard and is great, but always when I run rspec --drb in guard with spork I have the result printed twice. I'm not sure if the error is in this gem, I decide post here because the error is fixed if I remove "--drb".
Gems version:
Result:
Guardfile:
.rspec File
Thanks for your time, warmest regards.
The text was updated successfully, but these errors were encountered: