Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
aka001 committed Feb 18, 2015
1 parent 0faaa4a commit 19daaf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/admin/users_controller_spec.rb
Expand Up @@ -25,7 +25,7 @@
expect(other_user).to receive(:lock_access!)
allow(User).to receive(:find).and_return(other_user)

post other_user.expect(other_user.reload.access_locked?).to be_truthy
post :lock_account, id: other_user.id
end
end

Expand All @@ -35,7 +35,7 @@
expect(other_user).to receive(:unlock_access!)
allow(User).to receive(:find).and_return(other_user)

post !(other_user.expect(other_user.reload.access_locked?).to be_truthy)
post :unlock_account, id: other_user.id
end
end

Expand Down

0 comments on commit 19daaf5

Please sign in to comment.