Sha256: 534075e8adfc329802d311f31072ea2bde40343e0c3872317f59462eea025ad5

Contents?: true

Size: 606 Bytes

Versions: 21

Compression:

Stored size: 606 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.filter_run(:focus => true)
  config.run_all_when_everything_filtered = true

  config.order = "random"
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
zendesk2-1.7.5 spec/spec_helper.rb
zendesk2-1.7.4 spec/spec_helper.rb
zendesk2-1.7.2 spec/spec_helper.rb
zendesk2-1.7.1 spec/spec_helper.rb
zendesk2-1.7.0 spec/spec_helper.rb
zendesk2-1.6.1 spec/spec_helper.rb
zendesk2-1.5.17 spec/spec_helper.rb
zendesk2-1.5.16 spec/spec_helper.rb
zendesk2-1.5.15 spec/spec_helper.rb
zendesk2-1.5.14 spec/spec_helper.rb
zendesk2-1.5.13 spec/spec_helper.rb
zendesk2-1.5.12 spec/spec_helper.rb
zendesk2-1.5.11 spec/spec_helper.rb
zendesk2-1.5.10 spec/spec_helper.rb
zendesk2-1.5.9 spec/spec_helper.rb
zendesk2-1.5.8 spec/spec_helper.rb
zendesk2-1.5.7 spec/spec_helper.rb
zendesk2-1.5.6 spec/spec_helper.rb
zendesk2-1.5.5 spec/spec_helper.rb
zendesk2-1.5.4 spec/spec_helper.rb