Sha256: 1291e8a9fdde7c68fed60015ccadf7beb915c1c977bd6d7d7e4dcbc7ff2a3495

Contents?: true

Size: 358 Bytes

Versions: 21

Compression:

Stored size: 358 Bytes

Contents

ENV['MOCK_ZENDESK'] ||= 'true'

Bundler.require(:test)

require File.expand_path("../../lib/zendesk2", __FILE__)

Dir["./spec/{support,shared}/**/*.rb"].each {|f| require f}

if ENV["MOCK_ZENDESK"] == 'true'
  Zendesk2::Client.mock!
end

RSpec.configure do |config|
  config.before(:all) do
    Zendesk2::Client.reset! if Zendesk2::Client.mocking?
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
zendesk2-0.0.23 spec/spec_helper.rb
zendesk2-0.0.22 spec/spec_helper.rb
zendesk2-0.0.20 spec/spec_helper.rb
zendesk2-0.0.19 spec/spec_helper.rb
zendesk2-0.0.18 spec/spec_helper.rb
zendesk2-0.0.17 spec/spec_helper.rb
zendesk2-0.0.16 spec/spec_helper.rb
zendesk2-0.0.15 spec/spec_helper.rb
zendesk2-0.0.14 spec/spec_helper.rb
zendesk2-0.0.13 spec/spec_helper.rb
zendesk2-0.0.12 spec/spec_helper.rb
zendesk2-0.0.11 spec/spec_helper.rb
zendesk2-0.0.10 spec/spec_helper.rb
zendesk2-0.0.9 spec/spec_helper.rb
zendesk2-0.0.8 spec/spec_helper.rb
zendesk2-0.0.7 spec/spec_helper.rb
zendesk2-0.0.6 spec/spec_helper.rb
zendesk2-0.0.5 spec/spec_helper.rb
zendesk2-0.0.4 spec/spec_helper.rb
zendesk2-0.0.3 spec/spec_helper.rb