Sha256: 5ef70795b39796a461d968d047498c31c646d6a0a857487d106473ac880eb143
Contents?: true
Size: 545 Bytes
Versions: 5
Compression:
Stored size: 545 Bytes
Contents
ENV['MOCK_ZENDESK'] ||= 'true' Bundler.require(:test) require File.expand_path("../../lib/zendesk2", __FILE__) Dir[File.expand_path("../{support,shared}/**/*.rb", __FILE__)].each {|f| require f} if ENV["MOCK_ZENDESK"] == 'true' Zendesk2::Client.mock! end Cistern.formatter = Cistern::Formatter::AwesomePrint RSpec.configure do |config| if Zendesk2::Client.mocking? config.before(:each) { Zendesk2::Client.reset! } end config.order = "random" config.filter_run_excluding(mock_only: true) unless Zendesk2::Client.mocking? end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
zendesk2-1.2.1 | spec/spec_helper.rb |
zendesk2-1.2.0 | spec/spec_helper.rb |
zendesk2-1.1.3 | spec/spec_helper.rb |
zendesk2-1.1.2 | spec/spec_helper.rb |
zendesk2-1.0.0 | spec/spec_helper.rb |