Sha256: 065a8948ea05b469e2bbe0407846c43d9541c816e399a91bca95f35ccff8f8c0

Contents?: true

Size: 657 Bytes

Versions: 3

Compression:

Stored size: 657 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'mocha'
require 'sinatra'

module Rails
  class Railtie
    def self.initializer(name); end
  end
  class VERSION
    MAJOR = 3
  end
end
module ActionDispatch
  class ShowExceptions
    def call(env); end
  end
end

def silence_warnings; end

require 'code_buddy'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.join(File.dirname(__FILE__), "spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|
  config.mock_with :mocha
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
code_buddy-0.0.5 spec/spec_helper.rb
code_buddy-0.0.4 spec/spec_helper.rb
code_buddy-0.0.3 spec/spec_helper.rb