1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

We don't need a different output formatter now

This commit is contained in:
Thomas Walpole 2017-05-30 16:37:15 -07:00
parent a2aa5f7ded
commit be9318c3ae

View file

@ -6,7 +6,6 @@ require 'yard'
desc "Run all examples with Firefox non-marionette" desc "Run all examples with Firefox non-marionette"
RSpec::Core::RakeTask.new(:spec_firefox) do |t| RSpec::Core::RakeTask.new(:spec_firefox) do |t|
t.rspec_opts = %w[--color] t.rspec_opts = %w[--color]
t.rspec_opts << '--format documentation' if RUBY_PLATFORM=='java'
# When we drop RSpec 2.x support we can rename spec_chrome.rb and implement this properly # When we drop RSpec 2.x support we can rename spec_chrome.rb and implement this properly
# t.exclude_pattern = './spec/*{_chrome_spec.rb, _marionette_spec.rb}' # t.exclude_pattern = './spec/*{_chrome_spec.rb, _marionette_spec.rb}'
t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_firefox.rb}' t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_firefox.rb}'
@ -14,15 +13,11 @@ end
RSpec::Core::RakeTask.new(:spec_marionette) do |t| RSpec::Core::RakeTask.new(:spec_marionette) do |t|
t.rspec_opts = %w[--color] t.rspec_opts = %w[--color]
# jruby buffers the progress formatter so travis doesn't see output often enough
t.rspec_opts << '--format documentation' if RUBY_PLATFORM=='java'
t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_marionette.rb}' t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_marionette.rb}'
end end
RSpec::Core::RakeTask.new(:spec_chrome) do |t| RSpec::Core::RakeTask.new(:spec_chrome) do |t|
t.rspec_opts = %w[--color] t.rspec_opts = %w[--color]
# jruby buffers the progress formatter so travis doesn't see output often enough
t.rspec_opts << '--format documentation' if RUBY_PLATFORM=='java'
t.pattern = './spec/*{_spec_chrome.rb}' t.pattern = './spec/*{_spec_chrome.rb}'
end end