python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Testing enque of nested worker from another sidekiq worker
We have two workers as demonstrated below :
class WorkerOne
include Sidekiq::Worker
def perform(arg_1, arg_2)
# some calculation figure out arg_3
WorkerTwo.perform_async(arg_3, arg_2)
e...
Anubhav Jain
Votes: 0
Answers: 1
In RSpec, running a patch or put test will result in an ActionController::UrlGenerationError: No route matches error
What I want to solve
I want the Rspec patch or put test to succeed.
I also tested PostsContoroller before this, and I am puzzled because I did not get the same error when testing PostsContoroller.
Err...
Beginner Professional
Votes: 0
Answers: 1
Rails 7 - autoloading fails for Rails engine RSpec tests with gem
I maintain https://rubygems.org/gems/scimitar. Yesterday, we wanted to upgrade our primary application to Rails 7. This required a corresponding upgrade of Scimitar.
Tests I think are quite straightfo...
Andrew Hodgkinson
Votes: 0
Answers: 1
Rails-ujs doesn't work in Capybara tests in Rails 7 (with Selenium driver)
I've connected @rails/ujs, pinned it and included in js files. And I see that code works as I expect, when I try to do it on development server. But when I launch my capybara tests with selenium drive...

Ruslan Valeev
Votes: 0
Answers: 1