Skip to content

Commit

Permalink
Attempt to fix popup console test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dantemss committed Oct 17, 2024
1 parent 76a8d15 commit 8293e8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def step_3_complete?
# A User can also be created by a one of the consumer applications as a stand-in
# for a person who has not yet (or may never) created an account. In this case
# the User model will be in the "unclaimed" state. When the User does signup, they
# can claim the account and recieve all the permissions and tasks
# can claim the account and receive all the permissions and tasks
# that were assigned to it in the interm.
#
# Once a User model is cleared for use, the state is set to "activated"
Expand Down
2 changes: 2 additions & 0 deletions spec/features/admin/users_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
context 'popup console' do
it 'searches users and does not explode' do
visit '/'
wait_for_ajax
wait_for_animations
click_link 'Popup Console'
wait_for_ajax(10) # for some reason this is slow
click_link 'Users'
Expand Down
2 changes: 1 addition & 1 deletion spec/features/remove_accounts_path_prefix_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let(:request) { Rack::MockRequest.new(app) }

context "Requests should get routed to the appropriate controllers" do
it "should recieve profile info in show page" do
it "should receive profile info in show page" do
expect_any_instance_of(Api::V1::UsersController).to receive(:show)
request.get("/accounts/api/user")
end
Expand Down

0 comments on commit 8293e8b

Please sign in to comment.