Skip to content

Commit

Permalink
rubo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrashed-dev committed Sep 12, 2024
1 parent 6fb0532 commit 4dc8131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/nylas/utils/file_utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@

allow(mock_file).to receive(:closed?).and_return(true)

expect {
expect do
described_class.build_form_request(request_body)
}.to raise_error(ArgumentError, "The file at index 0 is closed and no file_path was provided.")
end.to raise_error(ArgumentError, "The file at index 0 is closed and no file_path was provided.")
end

it "opens the file if it is closed and file_path is provided" do
Expand Down

0 comments on commit 4dc8131

Please sign in to comment.