From 677b4e368d991c9fb30aa75316532756c6a475c9 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Tue, 30 Dec 2014 12:15:44 +0200 Subject: [PATCH] Test fix --- spec/models/user_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index cfb8881cc..99c296936 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -20,6 +20,7 @@ describe User do it { should be_able_to(:manage, User.new) } it { should be_able_to(:manage, EppUser.new) } it { should be_able_to(:manage, Keyrelay.new) } + it { should be_able_to(:manage, LegalDocument.new) } it { should be_able_to(:index, :delayed_job) } it { should be_able_to(:create, :zonefile) } it { should be_able_to(:access, :settings_menu) } @@ -36,6 +37,7 @@ describe User do it { should_not be_able_to(:manage, DomainVersion.new) } it { should_not be_able_to(:manage, User.new) } it { should_not be_able_to(:manage, EppUser.new) } + it { should_not be_able_to(:manage, LegalDocument.new) } it { should_not be_able_to(:index, :delayed_job) } it { should_not be_able_to(:create, :zonefile) } it { should_not be_able_to(:access, :settings_menu) }