Sha256: 5d88c6ab3a97573b9844056e578c2e2871b05cd7288266dd138683bbaaf341e3

Contents?: true

Size: 521 Bytes

Versions: 15

Compression:

Stored size: 521 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! }
  else
    config.filter_run_excluding(mock_only: true)
  end

  config.order = "random"
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zendesk2-1.4.2 spec/spec_helper.rb
zendesk2-1.4.1 spec/spec_helper.rb
zendesk2-1.4.0 spec/spec_helper.rb
zendesk2-1.3.3 spec/spec_helper.rb
zendesk2-1.3.2 spec/spec_helper.rb
zendesk2-1.3.1 spec/spec_helper.rb
zendesk2-1.3.0 spec/spec_helper.rb
zendesk2-1.2.10 spec/spec_helper.rb
zendesk2-1.2.9 spec/spec_helper.rb
zendesk2-1.2.7 spec/spec_helper.rb
zendesk2-1.2.6 spec/spec_helper.rb
zendesk2-1.2.5 spec/spec_helper.rb
zendesk2-1.2.4 spec/spec_helper.rb
zendesk2-1.2.3 spec/spec_helper.rb
zendesk2-1.2.2 spec/spec_helper.rb