spec/spec_helper.rb in moysklad-0.2.1 vs spec/spec_helper.rb in moysklad-0.3.0
- old
+ new
@@ -7,10 +7,11 @@
require 'moysklad'
require 'faraday'
# https://github.com/vcr/vcr
require 'webmock/rspec'
require 'rspec/collection_matchers'
+require 'pry'
Moysklad.logger = Logger.new '/dev/null'
Dir["./spec/support/**/*.rb"].sort.each { |f| require f}
#Bundler.require :default
@@ -40,10 +41,10 @@
# defined using `chain`, e.g.:
# be_bigger_than(2).and_smaller_than(4).description
# # => "be bigger than 2 and smaller than 4"
# ...rather than:
# # => "be bigger than 2"
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+ # expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end
# rspec-mocks config goes here. You can use an alternate test double
# library (such as bogus or mocha) by changing the `mock_with` option here.
config.mock_with :rspec do |mocks|