Skip to content

Conversation

@tashirosota
Copy link
Contributor

@tashirosota tashirosota commented Mar 4, 2021

DEPRECATED: global use of must_xxx
Change hoge.must_be page to expect(hoge).must_be page

@tashirosota tashirosota changed the title Change must_equal to assert_equal 【WIP】Change must_equal to assert_equal Mar 4, 2021
@tashirosota tashirosota changed the title 【WIP】Change must_equal to assert_equal 【WIP】Change must to assert Mar 4, 2021
@tashirosota tashirosota force-pushed the fix/deprecated_must_bar branch from c21ce9c to 58d99a9 Compare March 4, 2021 15:06
@tashirosota tashirosota changed the title 【WIP】Change must to assert 【WIP】Global use of must_xxx deplicated Mar 5, 2021
@tashirosota tashirosota changed the title 【WIP】Global use of must_xxx deplicated 【WIP】Global use of must_xxx is deplicated Mar 5, 2021
@tashirosota tashirosota changed the title 【WIP】Global use of must_xxx is deplicated 【WIP】Global use of must_xxx is deprecated Mar 5, 2021
@tashirosota tashirosota force-pushed the fix/deprecated_must_bar branch 2 times, most recently from 4a38244 to 270ea6e Compare March 6, 2021 03:28
begin
# Checks first if the enumerized attribute is in ActiveRecord::Store
store_attr, _ = reloaded.class.stored_attributes.detect do |store_attr, keys|
store_attr, _ = reloaded.class.stored_attributes.detect do |_store_attr, keys|
Copy link
Contributor Author

Choose a reason for hiding this comment

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

warning: shadowing outer local variable - store_attr

@tashirosota tashirosota changed the title 【WIP】Global use of must_xxx is deprecated Global use of must_xxx is deprecated Mar 6, 2021
@tashirosota
Copy link
Contributor Author

@nashby
I fix global use of must_xxx.
Review please🙇‍♂️

@nashby
Copy link
Member

nashby commented Mar 12, 2021

@tashirosota hey! Thanks for this! Could you please squash these commits into one?

@tashirosota tashirosota force-pushed the fix/deprecated_must_bar branch from 47a0167 to 81f6aa9 Compare March 12, 2021 09:20
@tashirosota tashirosota force-pushed the fix/deprecated_must_bar branch from 81f6aa9 to 034d1c8 Compare March 12, 2021 09:21
@tashirosota
Copy link
Contributor Author

tashirosota commented Mar 12, 2021

@nashby
Thanks for review!
I squashed these commits into one!

@nashby nashby merged commit daaecf9 into brainspec:master Mar 12, 2021
@nashby
Copy link
Member

nashby commented Mar 12, 2021

@tashirosota thank you!

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