Merge pull request #1332 from hanachin/use-rspec-core-version

Use RSpec::Core::Version instead of RSpec::Version
This commit is contained in:
Thomas Walpole 2014-06-14 12:22:30 -07:00
commit 6ba0c70ade
1 changed files with 2 additions and 2 deletions

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
@ -42,4 +42,4 @@ else
end
RSpec.configuration.include Capybara::Features, :capybara_feature => true
end
end