do you mean something like?

    it 'raises an error when setting a non-existent email service adapter' do
      Proc.new do
        Griddler.configure do |config|
          config.email_service = :non_existent
        end
      end.should raise_error(Griddler::Errors::EmailServiceAdapterNotFound)
    end