Sha256: 91ed60c2003d620bb7dda5ab97ebc9011fc77f3ed19cfbef8bb6fb31a578cd13
Contents?: true
Size: 795 Bytes
Versions: 5
Compression:
Stored size: 795 Bytes
Contents
# frozen_string_literal: true require 'simplecov' require 'simplecov-cobertura' SimpleCov.start SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter 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 = if spec.metadata[:enterprise] Crowdin::Client.new { |cfg| cfg.organization_domain = organization_domain } else # default Crowdin::Client.new end end end
Version data entries
5 entries across 5 versions & 1 rubygems