Commit f43cd011 authored by Christoph Burgmer's avatar Christoph Burgmer

Fix issue loading with newer rspec

parent ee2400fe
module RSpec
version = Gem.loaded_specs["rspec"].version
version = Gem.loaded_specs["rspec-core"].version
require "rspec/instafail/rspec_#{[3, version.segments.first].min}"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment