diff options
| author | mo khan <mo@mokhan.ca> | 2014-05-21 22:43:19 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-05-21 22:43:19 -0600 |
| commit | e49bef1d3606217baeba3efbaa44ce5f11f2c93e (patch) | |
| tree | 15719e332e48c188b683eedd658067c000b616c9 /spec/controllers | |
| parent | 0e1f35bf3f1a023e3f71b916ec5927ab46800249 (diff) | |
move avatars to my/avatars.
Diffstat (limited to 'spec/controllers')
| -rw-r--r-- | spec/controllers/my/avatars_controller_spec.rb (renamed from spec/controllers/avatars_controller_spec.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/avatars_controller_spec.rb b/spec/controllers/my/avatars_controller_spec.rb index 0a38ddb7..66ded19f 100644 --- a/spec/controllers/avatars_controller_spec.rb +++ b/spec/controllers/my/avatars_controller_spec.rb @@ -1,6 +1,6 @@ require "spec_helper" -describe AvatarsController do +describe My::AvatarsController do let(:user) { create(:user) } context "when logged in " do @@ -18,7 +18,7 @@ describe AvatarsController do end it "should redirect to the avatar page" do - response.should redirect_to edit_avatar_path(user) + response.should redirect_to edit_my_avatar_path(user) end it "should display a flash notice" do |
