You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: status_test.rb
    path of file: ./repos/rails-flog/test/unit
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'rails'
require 'test_helper'

module StatusTestHelper
  def create_switch_file
    create_file(@test_root.join
    
  def test_params_formattable_is_true_when_enable_and_params_switch_file_does_not_exist
    Rails.stub(:root, @test_root) do
      delete_switch_file
      delete_params_switch_file
      assert Flog::Status.params_formattable?
    end
  end