diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-05-12 23:42:06 -0500 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-05-12 23:42:06 -0500 |
commit | eb88ca76469539431b7f06592f177a77d5738612 (patch) | |
tree | acfef46fb6d3c3313fa152ece9240ef3570a2ce8 /spec/models/event_spec.rb | |
parent | 74511b049743cf543694bb92a8acd7e7586e533d (diff) | |
download | gitlab-ce-eb88ca76469539431b7f06592f177a77d5738612.tar.gz |
Rename methods that conflict in Rails 5.255583-rename-method-conflicts
Adds suffix to enum methods and changes `in_groups` to
`of_groups`
Diffstat (limited to 'spec/models/event_spec.rb')
-rw-r--r-- | spec/models/event_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/event_spec.rb b/spec/models/event_spec.rb index e91b5c4c86f..62663c247d1 100644 --- a/spec/models/event_spec.rb +++ b/spec/models/event_spec.rb @@ -88,7 +88,7 @@ describe Event do let(:event) { create_push_event(project, user) } it do - expect(event.push?).to be_truthy + expect(event.push_action?).to be_truthy expect(event.visible_to_user?(user)).to be_truthy expect(event.visible_to_user?(nil)).to be_falsey expect(event.tag?).to be_falsey |