From 9dc12cc5bb014553ef3fd7c373ff7d9826ac2da4 Mon Sep 17 00:00:00 2001 From: yoshihara Date: Thu, 2 Apr 2015 14:03:09 +0900 Subject: [PATCH] Update capybara ~> 2.4.0 to surpress warning refs #161 The below warning was surpressed by the newest capybara. c.f. https://github.com/jnicklas/capybara/issues/1254 Warning: -------------------------------------------------------------------------------- Capybara::RSpecMatchers::HaveText implements a legacy RSpec matcher protocol. For the current protocol you should expose the failure messages via the `failure_message` and `failure_message_when_negated` methods. (Used from /Users/yoshihara/everyleaf/fluentd-ui/spec/features/fluentd/setting/running_backup_spec.rb:85:in `block (6 levels) in ') -------------------------------------------------------------------------------- And specs are all green :) --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index b2a93de..38e459b 100644 --- a/Gemfile +++ b/Gemfile @@ -19,7 +19,7 @@ group :test do gem "rspec-its" gem "factory_girl_rails" gem "database_cleaner", "~> 1.2.0" - gem "capybara", "~> 2.2.1" + gem "capybara", "~> 2.4.0" gem "capybara-screenshot" gem "simplecov", "~> 0.7.1", require: false gem "webmock", "~> 1.18.0" diff --git a/Gemfile.lock b/Gemfile.lock index eda3eef..35484c3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -54,7 +54,7 @@ GEM addressable (2.3.6) arel (5.0.1.20140414130214) builder (3.2.2) - capybara (2.2.1) + capybara (2.4.4) mime-types (>= 1.16) nokogiri (>= 1.3.3) rack (>= 1.0.0) @@ -256,7 +256,7 @@ PLATFORMS ruby DEPENDENCIES - capybara (~> 2.2.1) + capybara (~> 2.4.0) capybara-screenshot database_cleaner (~> 1.2.0) factory_girl_rails