Skip to content

Update test matrix#146

Merged
coding-chimp merged 3 commits into
masterfrom
test-matrix
Sep 13, 2023
Merged

Update test matrix#146
coding-chimp merged 3 commits into
masterfrom
test-matrix

Conversation

@coding-chimp

Copy link
Copy Markdown

No description provided.

it 'should copy 23 rows from origin to destination in one shot, regardless of the value of the id' do
23.times { |n| execute("insert into origin set id = '#{ n * n + 23 }'") }

printer = MiniTest::Mock.new

@coding-chimp coding-chimp Sep 13, 2023

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got this on Ruby 3:

NameError: uninitialized constant MiniTest
Did you mean?  Minitest

I'm not even sure why this was using minitest mocks. We have mocha installed and are already using it in a bunch of places, even in this file. Using mocha everywhere is more consistent and easier than using different constant names depending on the Ruby version.

@coding-chimp coding-chimp merged commit c60a3e0 into master Sep 13, 2023
@coding-chimp coding-chimp deleted the test-matrix branch September 13, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants