spec/spec_helper.rb in sqs_web-0.0.2 vs spec/spec_helper.rb in sqs_web-0.0.3

- old
+ new

@@ -1,8 +1,7 @@ require "codeclimate-test-reporter" require "byebug" -require 'capybara-webkit' require 'capybara/rspec' require 'support/shared_context.rb' CodeClimate::TestReporter.start ENV['RACK_ENV'] = 'development' @@ -10,10 +9,10 @@ RSpec.configure do |config| config.disable_monkey_patching! config.include Capybara::DSL end -Capybara.javascript_driver = :webkit +Capybara.javascript_driver = :selenium def match_content(actual, expected) actual_text = actual.respond_to?(:text) ? normalize_whitespace(actual.text) : actual expect(actual_text).to include(expected), <<-EOF expected \ No newline at end of file