Commit 33dcb581 authored by Rajendra Kadam's avatar Rajendra Kadam

Apply suggestions for specs

parent 3f686420
......@@ -48,7 +48,7 @@ RSpec.describe CustomEmojiPolicy do
end
end
context 'is developer and owner' do
context 'is developer and emoji creator' do
before do
group.add_developer(user)
custom_emoji.update_attribute(:creator, user)
......
......@@ -35,7 +35,7 @@ RSpec.describe 'Deletion of custom emoji' do
it_behaves_like 'does not delete custom emoji'
end
context 'when the user is developer and not owner of custom emoji' do
context 'when the user is developer and not creator of custom emoji' do
before do
group.add_developer(current_user)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment