Sha256: 861f892fb869a7f02e25244d767ea72d41730096e797d56049e09af2df1fe7c0

Contents?: true

Size: 450 Bytes

Versions: 1

Compression:

Stored size: 450 Bytes

Contents

SPEC_FOLDER = File.dirname(__FILE__)
require 'yaml'
require 'yogi_berra'
require 'rspec/mocks'
# Helper methods
# Creates RunTimeError
def build_exception
  raise Exception
rescue Exception => caught_exception
  caught_exception
end

def build_session
  { "access" =>
    { "user_id" => 30785,
      "id" => 605,
      "password" => "[FILTERED]",
      "auth_key" => "Baseball is ninety percent mental and the other half is physical."
    }
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yogi_berra-0.0.4 spec/spec_helper.rb