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 <top (required)>')
--------------------------------------------------------------------------------

And specs are all green :)
This commit is contained in:
yoshihara 2015-04-02 14:03:09 +09:00
parent 084836f000
commit 9dc12cc5bb
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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