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

Use RSpec::Core::Version instead of RSpec::Version

because capybara/rspec requires rspec-core, but not rspec.
This commit is contained in:
Seiei Higa 2014-06-14 12:02:20 +09:00
parent 6d3d8d915a
commit 3a9016fdba

View file

@ -1,4 +1,4 @@
if RSpec::Version::STRING.to_f >= 3.0
if RSpec::Core::Version::STRING.to_f >= 3.0
RSpec.shared_context "Capybara Features", :capybara_feature => true do
instance_eval do
alias background before