diff --git a/spec/legacy/support/legacy_assertions.rb b/spec/legacy/support/legacy_assertions.rb index 08494c2092..cc79e3edcb 100644 --- a/spec/legacy/support/legacy_assertions.rb +++ b/spec/legacy/support/legacy_assertions.rb @@ -80,8 +80,6 @@ module LegacyAssertionsAndHelpers file end - include OpenProject::Files - def save_and_open_page body = response.body diff --git a/spec/legacy_spec_helper.rb b/spec/legacy_spec_helper.rb index b86969b365..028bfa4b61 100644 --- a/spec/legacy_spec_helper.rb +++ b/spec/legacy_spec_helper.rb @@ -37,6 +37,7 @@ require 'fileutils' require 'rspec/mocks' require 'factory_girl_rails' +require_relative './support/file_helpers' require_relative './legacy/support/legacy_assertions' require_relative './legacy/support/object_daddy_helpers'