Skip to content

Commit

Permalink
Little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvkcr authored and katafira committed Sep 1, 2016
1 parent 0aeef33 commit 82f8361
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Offsprings are dependent on them
# They are the ones that need to perform the process on behalf of the offspring
class UsersController < ApplicationController
before_action :authenticate_user!
def show
@user = User.find_by_id(params[:id]) || current_user
end
Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/admin_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
expect(response).to have_http_status(:success)
end
end
describe "#POST switch_lock_admin" do
describe "POST #switch_lock_admin" do
before(:each) do # we want to make sure we are starting in switch lock with false value
sign_in user_admin
post :switch_lock_admin if ApplicationHelper.status_lock?
Expand Down

0 comments on commit 82f8361

Please sign in to comment.