Skip to content

Commit

Permalink
Use assert_require
Browse files Browse the repository at this point in the history
For consistency with the other specs.
  • Loading branch information
deivid-rodriguez committed May 18, 2019
1 parent d470f17 commit 44b93ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rubygems/test_require.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_activate_via_require_respects_loaded_files

install_specs b1, b2, a1

require 'test_gem_require_a'
assert_require 'test_gem_require_a'
assert_equal unresolved_names, ["b (>= 1)"]

refute require('benchmark'), "benchmark should have already been loaded"
Expand Down

0 comments on commit 44b93ae

Please sign in to comment.