Refactored profile area
This commit is contained in:
parent
8f9a450eed
commit
dc37c8aaae
15 changed files with 104 additions and 68 deletions
|
@ -28,8 +28,8 @@ describe "Users Security" do
|
|||
it { should be_denied_for :visitor }
|
||||
end
|
||||
|
||||
describe "GET /profile/password" do
|
||||
subject { profile_password_path }
|
||||
describe "GET /profile/account" do
|
||||
subject { profile_account_path }
|
||||
|
||||
it { should be_allowed_for @u1 }
|
||||
it { should be_allowed_for :admin }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue