Skip to content

Commit

Permalink
[tests] stop generating rspec temp file in current directory (#21466)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Aug 24, 2023
1 parent d7aab9c commit dbb84f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pilot/spec/test_exporter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
describe ".export_testers" do
let(:fake_tester_exporter) { Pilot::TesterExporter.new }
let(:fake_tester_manager) { double("tester manager") }
let(:fake_testers_file_path) { "fake testers_file_path" }
let(:fake_testers_file_path) { Tempfile.new("fake testers_file_path").path }
let(:fake_apple_id) { "fake apple_id" }
let(:fake_app_identifier) { "fake app_identifier" }
let(:fake_input_options) do
Expand Down
2 changes: 1 addition & 1 deletion pilot/spec/tester_importer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

context "when testers CSV file path is given" do
let(:fake_tester_manager) { double("tester manager") }
let(:fake_testers_file_path) { "fake testers_file_path" }
let(:fake_testers_file_path) { Tempfile.new("fake testers_file_path").path }
let(:fake_input_options) do
{
testers_file_path: fake_testers_file_path
Expand Down

0 comments on commit dbb84f9

Please sign in to comment.