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 4f80a30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
run: |
bundle install --jobs 4 --retry 3
bundle exec rake parallel:create parallel:load_schema parallel:seed --trace
bundle exec rspec ./spec
WORKERS=4 bundle exec rake parallel:spec
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
1 change: 1 addition & 0 deletions spec/features/admin/users_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
context 'popup console' do
it 'searches users and does not explode' do
visit '/'
Capybara.current_session.current_window.resize_to 1024, 1024
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 4f80a30

Please sign in to comment.