From ff8b3f28a7a0f2c7e19a8dc0fc41eae0711160f2 Mon Sep 17 00:00:00 2001 From: F3PiX Date: Tue, 15 May 2018 16:02:14 +0200 Subject: [PATCH] fix indentation thingy --- spec/models/ability_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/ability_spec.rb b/spec/models/ability_spec.rb index b7db0eacf..62672fd6a 100644 --- a/spec/models/ability_spec.rb +++ b/spec/models/ability_spec.rb @@ -124,8 +124,8 @@ allow(user).to receive(:admin?).and_return(false) allow(user).to receive(:confirmed?).and_return(false) end - # NOTE / TODO is this testing "can? read_email" properly? - xit 'disallows to see not hidden email address' do + # NOTE / TODO is this testing "can? read_email" properly? + xit 'disallows to see not hidden email address' do other_user.hide_email = false expect(ability).not_to be_able_to(:read_email, other_user) end