Commit f430ab5b authored by Vitali Tatarintev's avatar Vitali Tatarintev

Replace set to let_it_be in spec/controllers

parent abf98f15
......@@ -22,8 +22,9 @@ describe Profiles::NotificationsController do
end
context 'with groups that do not have notification preferences' do
set(:group) { create(:group) }
set(:subgroup) { create(:group, parent: group) }
let_it_be(:group) { create(:group) }
let_it_be(:subgroup) { create(:group, parent: group) }
before do
group.add_developer(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