Sha256: 40ab9cc44784883013f20c5c66e75ee8923d9037337025a62f2437d6c715aac2
Contents?: true
Size: 720 Bytes
Versions: 1
Compression:
Stored size: 720 Bytes
Contents
# frozen_string_literal: true require 'simplecov' require 'codecov' SimpleCov.start SimpleCov.formatter = SimpleCov::Formatter::Codecov require 'webmock/rspec' require 'crowdin-api' RSpec.shared_context 'crowdin_client_options' do let(:api_token) { 'api_token' } let(:project_id) { 1 } let(:organization_domain) { 'domain' } let(:full_organization_domain) { 'domain.com' } let(:target_api_url) { 'api/v2' } end RSpec.configure do |config| config.include_context 'crowdin_client_options' config.before(:each) do |spec| @crowdin = Crowdin::Client.new { |cfg| cfg.organization_domain = 'domain' } if spec.metadata[:enterprise] @crowdin = Crowdin::Client.new if spec.metadata[:default] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crowdin-api-1.3.0 | spec/spec_helper.rb |