lib/soaspec.rb in soaspec-0.0.5 vs lib/soaspec.rb in soaspec-0.0.6

- old
+ new

@@ -1,35 +1,36 @@ -require 'rest-client' # REST -require 'erb' # Embedded ruby -require 'yaml' # Reading yaml -require 'rspec' # Testing framework -require 'savon' # SOAP -require 'nokogiri' # XPath -require 'date' - -require 'soaspec/version' -require 'soaspec/common' -require 'soaspec/basic_soap_handler' -require 'soaspec/tester' -require 'soaspec/exchange' -require 'soaspec/matchers' -require 'soaspec/shared_examples' - -# Gem for handling SOAP and REST api tests -module Soaspec - - def self.hi - puts 'Hello world!' - end - - # Represents Environment parameters used in Soaspec tests - module Environment - - def self.api_handler=(handler) - @api_handler = handler - end - - def self.api_handler - @api_handler - end - end -end +require 'rest-client' # REST +require 'erb' # Embedded ruby +require 'yaml' # Reading yaml +require 'rspec' # Testing framework +require 'savon' # SOAP +require 'nokogiri' # XPath +require 'date' + +require 'soaspec/version' +require 'soaspec/common' +require 'soaspec/basic_soap_handler' +require 'soaspec/tester' +require 'soaspec/exchange' +require 'soaspec/matchers' +require 'soaspec/shared_examples' +require 'soaspec/hash_methods' + +# Gem for handling SOAP and REST api tests +module Soaspec + + def self.hi + puts 'Hello world!' + end + + # Represents Environment parameters used in Soaspec tests + module Environment + + def self.api_handler=(handler) + @api_handler = handler + end + + def self.api_handler + @api_handler + end + end +end