# Helper to run a set of specs several times under different conditions.
def branch(*args, &block)
  args.map { |sym| ActiveSupport::StringInquirer.new sym.to_s }.each(&block)
end

# Helper to run a set of specs several times under different conditions.
def branch(*args, &block)
  args.map { |sym| ActiveSupport::StringInquirer.new sym.to_s }.each(&block)
end

def mingo_id
  last_response.headers['mingo_id'].to_i
end

Add 'mingo_id' as a proper spec helper.
Add 'mingo_id' as a proper spec helper.
