Sha256: ede4c6990e6167a6001be7b08231aca919cd3b0ac18b4d22a8b94cd5acfa4e04

Contents?: true

Size: 671 Bytes

Versions: 1

Compression:

Stored size: 671 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'mousetrap'

require "bundler"
Bundler.setup

require 'rspec'
require 'factories'

require 'active_support/core_ext/hash'

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

module Mousetrap
  class Resource
    def self.get(*args)
      raise 'You must stub this, or should_receive at a higher level.'
    end

    def self.post(*args)
      raise 'You must stub this, or should_receive at a higher level.'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sproutbox-mousetrap-0.6.4 spec/spec_helper.rb