old_contents: import os
  
  from invoke import run
  
  
  class BaseTest(object):
      def download_mspec(self):
          if not os.path.isdir("../mspec"):
              run("cd .. && git clone --depth=100 --quiet https://github.com/ruby/mspec")
  
      def download_rubyspec(self):
          if not os.path.isdir("../rubyspec"):
              run("cd .. && git clone --depth=100  --quiet https://github.com/ruby/spec")
              run("mv spec rubyspec")
  
new_contents: import os
  
  from invoke import run
  
  
  class BaseTest(object):
      def download_mspec(self):
          if not os.path.isdir("../mspec"):
              run("cd .. && git clone --depth=100 --quiet https://github.com/ruby/mspec")
  
      def download_rubyspec(self):
          if not os.path.isdir("../rubyspec"):
              run("cd .. && git clone --depth=100  --quiet https://github.com/ruby/spec rubyspec")
  
subject: clone rubyspec into rubyspec folder directly