Skip to content

Commit

Permalink
Update Minitest syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Oct 1, 2023
1 parent 6365f2a commit 3771f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unicode_blocks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
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
Expand Down

0 comments on commit 3771f32

Please sign in to comment.