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: input_methods_spec.rb
    path of file: ./repos/activeadmin_addons/spec/lib/support
    
    the code of the file until where you have to start completion: require "rails_helper"

describe ActiveAdminAddons::InputMethods do
  let!(:dummy_class) do
    Class.new
    
  def self.check_invalid_object(method_name)
    context "with nil object" do
      let(:object) { nil }

      it "raises error" do
        error = "blank object given"
        expect { instance.send(method_name) }.to raise_error(error)
      end
    end
  end