Module: Pact
- Includes:
- Helpers
- Defined in:
- lib/pact/rspec.rb,
lib/pact/term.rb,
lib/pact/helpers.rb,
lib/pact/logging.rb,
lib/pact/support.rb,
lib/pact/array_like.rb,
lib/pact/shared/dsl.rb,
lib/pact/reification.rb,
lib/pact/configuration.rb,
lib/pact/matching_rules.rb,
lib/pact/shared/request.rb,
lib/pact/something_like.rb,
lib/pact/symbolize_keys.rb,
lib/pact/matchers/differ.rb,
lib/pact/support/version.rb,
lib/pact/consumer/request.rb,
lib/pact/matchers/matchers.rb,
lib/pact/shared/form_differ.rb,
lib/pact/shared/json_differ.rb,
lib/pact/shared/text_differ.rb,
lib/pact/matchers/difference.rb,
lib/pact/matchers/actual_type.rb,
lib/pact/matching_rules/merge.rb,
lib/pact/shared/jruby_support.rb,
lib/pact/shared/key_not_found.rb,
lib/pact/matchers/expected_type.rb,
lib/pact/matching_rules/extract.rb,
lib/pact/consumer_contract/query.rb,
lib/pact/matchers/unexpected_key.rb,
lib/pact/shared/null_expectation.rb,
lib/pact/matchers/base_difference.rb,
lib/pact/matchers/index_not_found.rb,
lib/pact/matchers/type_difference.rb,
lib/pact/consumer_contract/headers.rb,
lib/pact/consumer_contract/request.rb,
lib/pact/matchers/no_diff_at_index.rb,
lib/pact/matchers/unexpected_index.rb,
lib/pact/consumer_contract/response.rb,
lib/pact/matchers/regexp_difference.rb,
lib/pact/consumer_contract/file_name.rb,
lib/pact/consumer_contract/pact_file.rb,
lib/pact/consumer_contract/query_hash.rb,
lib/pact/matchers/list_diff_formatter.rb,
lib/pact/matchers/unix_diff_formatter.rb,
lib/pact/consumer_contract/interaction.rb,
lib/pact/matchers/difference_indicator.rb,
lib/pact/shared/active_support_support.rb,
lib/pact/consumer_contract/query_string.rb,
lib/pact/matchers/embedded_diff_formatter.rb,
lib/pact/consumer_contract/service_consumer.rb,
lib/pact/consumer_contract/service_provider.rb,
lib/pact/consumer_contract/consumer_contract.rb
Overview
The support you need when you use ActiveSupport
Defined Under Namespace
Modules: ActiveSupportSupport, Consumer, DSL, FileName, Helpers, JRubySupport, Logging, Matchers, MatchingRules, PactFile, RSpec, Reification, Request, Support, SymbolizeKeys Classes: ActualType, ArrayLike, Configuration, ConsumerContract, DifferenceIndicator, DslDelegator, DuplicateHeaderError, ExpectedType, FormDiffer, Headers, IndexNotFound, Interaction, InvalidHeaderNameTypeError, JsonDiffer, KeyNotFound, NullExpectation, Query, QueryHash, QueryString, Response, ServiceConsumer, ServiceProvider, SomethingLike, Term, TextDiffer, UnexpectedIndex, UnexpectedKey
Class Method Summary collapse
Methods included from Helpers
#each_like, included, #like, #term
Class Method Details
.clear_configuration ⇒ Object
178 179 180 |
# File 'lib/pact/configuration.rb', line 178 def self.clear_configuration @configuration = nil end |
.configuration ⇒ Object
169 170 171 |
# File 'lib/pact/configuration.rb', line 169 def self.configuration @configuration ||= Configuration.default_configuration end |
.configure {|configuration| ... } ⇒ Object
173 174 175 176 |
# File 'lib/pact/configuration.rb', line 173 def self.configure yield configuration FileUtils::mkdir_p configuration.tmp_dir end |