Skip to content

Commit 69e681f

Browse files
committed
✅ Fix invalid test
1 parent ab8b9dd commit 69e681f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/version_gem/error_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# frozen_string_literal: true
22

33
RSpec.describe(VersionGem::Error) do
4-
it "is a standard error" do
5-
expect(described_class).to be_a(StandardError)
4+
it "is a runtime error" do
5+
expect(described_class.new).to be_a(RuntimeError)
66
end
77

88
describe "raise" do

0 commit comments

Comments
 (0)