lokalise_manager 2.1.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module SpecAddons
4
- def allow_project_id(obj, value)
5
- allow(obj.config).to receive(:project_id).and_return(value)
6
- return unless block_given?
7
-
8
- yield
9
- expect(obj.config).to have_received(:project_id)
10
- end
11
-
12
- def expect_file_exist(path, file)
13
- file_path = File.join path, file
14
- expect(File.file?(file_path)).to be true
15
- end
16
- end
data/spec/support/vcr.rb DELETED
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'vcr'
4
-
5
- VCR.configure do |c|
6
- c.ignore_hosts 'codeclimate.com'
7
- c.hook_into :faraday
8
- c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'fixtures', 'vcr_cassettes')
9
- c.filter_sensitive_data('<LOKALISE_TOKEN>') do |_i|
10
- ENV.fetch('LOKALISE_API_TOKEN')
11
- end
12
- c.configure_rspec_metadata!
13
- end