Skip to content

Instantly share code, notes, and snippets.

@mgrobelin
mgrobelin / rspec_json_formatter.rb
Last active November 7, 2017 09:55
rspec_json_formatter.rb
# encoding: utf-8
# author: Dominik Richter
# author: Christoph Hartmann
# author: John Kerry
require 'rspec/core'
require 'rspec/core/formatters/json_formatter'
# Vanilla RSpec JSON formatter with a slight extension to show example IDs.
# TODO: Remove these lines when RSpec includes the ID natively
@mgrobelin
mgrobelin / Gemfile
Created October 25, 2012 15:41
force ldap auth for gitlab
# this provides 'ldap' - 'net/ldap' does not work with 389-ds
gem "ruby-ldap"