Sha256: 93341b0221eb0462d9adee6fbb195fb94042f119c9c08bdd1f378af94f13805b

Contents?: true

Size: 646 Bytes

Versions: 31

Compression:

Stored size: 646 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'mousetrap'
require 'spec'
require 'spec/autorun'
require 'factory_girl'
require 'active_support'

# 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

31 entries across 31 versions & 7 rubygems

Version Path
hashrocket-mousetrap-0.2.0 spec/spec_helper.rb
hashrocket-mousetrap-0.2.1 spec/spec_helper.rb
hashrocket-mousetrap-0.3.0 spec/spec_helper.rb
oel-brenner-mousetrap-0.5.2 spec/spec_helper.rb
cameroncox-mousetrap-0.6.2 spec/spec_helper.rb
cameroncox-mousetrap-0.6.1 spec/spec_helper.rb
ambethia-mousetrap-0.5.1 spec/spec_helper.rb
ryanwood-mousetrap-0.5.7 spec/spec_helper.rb
ryanwood-mousetrap-0.5.6 spec/spec_helper.rb
madebyrocket-mousetrap-0.5.3.8 spec/spec_helper.rb
madebyrocket-mousetrap-0.5.3.7 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.10 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.9 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.8 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.7 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.6 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.5 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.4 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.3 spec/spec_helper.rb
cameroncox-mousetrap-0.5.3.2 spec/spec_helper.rb