Module: Savon::SpecHelper

Defined in:
lib/savon/mock/spec_helper.rb

Defined Under Namespace

Classes: Interface

Instance Method Summary collapse

Instance Method Details

#savonObject



53
54
55
# File 'lib/savon/mock/spec_helper.rb', line 53

def savon
  @savon ||= Interface.new
end

#verify_mocks_for_rspecObject



57
58
59
60
# File 'lib/savon/mock/spec_helper.rb', line 57

def verify_mocks_for_rspec
  super if defined? super
  savon.verify!
end