Skip to content

Commit 2cffe05

Browse files
committed
Fix specs
1 parent f662a16 commit 2cffe05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/storages/spec/features/storages/admin/create_storage_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
expect(page).not_to have_test_selector("label-openproject_oauth_application_configured-status")
7777

7878
# OAuth client
79-
wait_for { page }.to have_test_selector("storage-oauth-client-label", text: "Nextcloud OAuth")
79+
wait_for { page }.to have_test_selector("storage-oauth-client-label", text: "Storage OAuth")
8080
expect(page).not_to have_test_selector("label-storage_oauth_client_configured-status")
8181
expect(page).to have_test_selector("storage-oauth-client-id-description",
8282
text: "Allow OpenProject to access Nextcloud data using OAuth.")

modules/storages/spec/features/storages/admin/edit_storage_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
text: "OAuth Client ID: #{oauth_application.uid}")
9595

9696
# OAuth client
97-
expect(page).to have_test_selector("storage-oauth-client-label", text: "Nextcloud OAuth")
97+
expect(page).to have_test_selector("storage-oauth-client-label", text: "Storage OAuth")
9898
expect(page).to have_test_selector("label-storage_oauth_client_configured-status", text: "Completed")
9999
expect(page).to have_test_selector("storage-oauth-client-id-description",
100100
text: "OAuth Client ID: #{oauth_client.client_id}")

0 commit comments

Comments
 (0)