There was an error while loading. Please reload this page.
1 parent b087327 commit 98f5b20Copy full SHA for 98f5b20
spec/core/middleware/request/upload_spec.rb
@@ -15,6 +15,7 @@
15
end
16
17
it "should handle invalid types" do
18
+ expect(subject).to receive(:warn)
19
expect(subject.call(:body => { :file => :invalid })[:body]).to eq({})
20
21
0 commit comments