spec/unicode_blocks_spec.rb in unicode-blocks-1.8.0 vs spec/unicode_blocks_spec.rb in unicode-blocks-1.9.0

- old
+ new

@@ -15,10 +15,10 @@ assert_equal ["Basic Latin", "Cyrillic"], Unicode::Blocks.of("СA") assert_equal ["Basic Latin", "Cyrillic"], Unicode::Blocks.of("AС") end it "will call .block for every character" do - mocked_method = MiniTest::Mock.new + mocked_method = Minitest::Mock.new mocked_method.expect :call, "first block", ["С"] mocked_method.expect :call, "second block", ["A"] Unicode::Blocks.stub :block, mocked_method do Unicode::Blocks.of("СA") end