Skip to content

Commit

Permalink
FIX DuplicateMethodCall offense
Browse files Browse the repository at this point in the history
  • Loading branch information
JuzerShakir committed Dec 27, 2024
1 parent 80b9973 commit 62e7d54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/exceptions_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
class ExceptionsTest < Minitest::Test
def test_invalid_url
assert_raises(IMDb::InvalidURL) { IMDb::Title.new("http://www.example.com") }
end

def test_invalid_id
VCR.use_cassette("wrong_id") do
assert_raises(IMDb::InvalidURL) { IMDb::Title.new("https://www.imdb.com/title/tt549199490/") }
end
Expand Down

0 comments on commit 62e7d54

Please sign in to comment.