Correct a problem between rspec and ruby 2.1