Skip to content

Commit

Permalink
Use test queue adapter in test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Jan 16, 2024
1 parent 4291693 commit 5c3b295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/environments/test.rb
Expand Up @@ -56,4 +56,6 @@
config.action_controller.raise_on_missing_callback_actions = true

config.action_controller.action_on_unpermitted_parameters = :raise

config.active_job.queue_adapter = :test
end
2 changes: 1 addition & 1 deletion test/system/setting_test.rb
Expand Up @@ -24,7 +24,7 @@ class SettingSystemTest < ApplicationSystemTestCase
fill_in("setting_media_path", with: Rails.root.join("test/fixtures/files").to_s)
click_on("Sync")

assert_text("Media sync completed")
assert_equal "Syncing...", find(:test_id, "media_sync_button").text
end

test "update discogs token" do
Expand Down

0 comments on commit 5c3b295

Please sign in to comment.