Skip to content
  • Edouard CHIN's avatar
    e4fb2994
    Fix test when Rails may not be defined: · e4fb2994
    Edouard CHIN authored
    - Fix #54579
    - I don't think it's worth moving that test to the railties suite,
      it's simple enough that we can stub a constant.
    - Worth to note:
      Reproducing the problem is dependent on the gem you have globally
      installed. But if you have never installed railties, and you
      run this test without activating the bundler spec
      (.e.g `ruby -I"lib:test test_file.rb`), this would cause the
      problem.
    e4fb2994
    Fix test when Rails may not be defined:
    Edouard CHIN authored
    - Fix #54579
    - I don't think it's worth moving that test to the railties suite,
      it's simple enough that we can stub a constant.
    - Worth to note:
      Reproducing the problem is dependent on the gem you have globally
      installed. But if you have never installed railties, and you
      run this test without activating the bundler spec
      (.e.g `ruby -I"lib:test test_file.rb`), this would cause the
      problem.
Loading