Skip to content

Commit 48e30d4

Browse files
committed
Don't use bare assert_raises
1 parent c5bd801 commit 48e30d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/tapioca/helpers/sorbet_helper_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Tapioca::SorbetHelperSpec < Minitest::Spec
2828
end
2929

3030
it "raises for an unknown feature check" do
31-
assert_raises do
31+
assert_raises(RuntimeError) do
3232
sorbet_supports?(:unknown_feature_name)
3333
end
3434
end

0 commit comments

Comments
 (0)