Skip to content

Commit

Permalink
remove unnecessary test because of change in upload_test_file
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeig committed Oct 28, 2024
1 parent 12585de commit d543b87
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,6 @@ module Admin

it { is_expected.not_to be_valid }
end

context "when invalid file type is provided" do
let(:file) do
upload_test_file(
Rack::Test::UploadedFile.new(
file_fixture("set-translations.json"),
"text/plain"
)
)
end

it { is_expected.not_to be_valid }
end
end
end
end
Expand Down

0 comments on commit d543b87

Please sign in to comment.