aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/models/preview_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/test/models/preview_test.rb')
-rw-r--r--activestorage/test/models/preview_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/models/preview_test.rb b/activestorage/test/models/preview_test.rb
index bcd8442f4b..b0c6d2c45b 100644
--- a/activestorage/test/models/preview_test.rb
+++ b/activestorage/test/models/preview_test.rb
@@ -33,7 +33,7 @@ class ActiveStorage::PreviewTest < ActiveSupport::TestCase
test "previewing an unpreviewable blob" do
blob = create_file_blob
- assert_raises ActiveStorage::Blob::UnpreviewableError do
+ assert_raises ActiveStorage::UnpreviewableError do
blob.preview resize: "640x280"
end
end