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: revisions_test.rb
    path of file: ./repos/comfortable-mexican-sofa/test/lib
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require_relative "../test_helper"

class RevisionsTest < ActiveSupport::
    
  def test_restore_from_revision_with_wrong_revision_type
    revision = comfy_cms_revisions(:layout)

    assert_no_difference -> { @snippet.revisions.count } do
      @snippet.restore_from_revision(revision)
      @snippet.reload
      assert_equal "snippet content", @snippet.content
    end
  end