Skip to content

Instantly share code, notes, and snippets.

@jmzbond
Created August 27, 2014 18:22
Show Gist options
  • Save jmzbond/67ada800e524a5298b4e to your computer and use it in GitHub Desktop.
Save jmzbond/67ada800e524a5298b4e to your computer and use it in GitHub Desktop.
Logged errors when testing SP
#Note, these results are the exact same whether or not I have the db gem installed and the config files or not.
#Either tell the job to sleep 3 sec before starting OR don't sleep and execute as normal both render the following errors
Failure/Error: click_button 'submit_request'
NoMethodError:
undefined method `signup' for nil:NilClass
# ./app/jobs/times_to_create.rb:12:in `block (2 levels) in perform'
# ./app/jobs/times_to_create.rb:8:in `each'
# ./app/jobs/times_to_create.rb:8:in `block in perform'
# ./app/jobs/times_to_create.rb:6:in `perform'
# (celluloid):0:in `remote procedure call'
# (celluloid):0:in `remote procedure call'
# ./app/controllers/requests_controller.rb:266:in `create'
# ./spec/features/borrow_process_spec.rb:19:in `login'
# ./spec/features/borrow_process_spec.rb:1060:in `block (3 levels) in <top (required)>'
#Tell the job to execute with a later command for 3 sec produces a unique error
Failure/Error: click_button 'submit_request'
Celluloid::DeadActorError:
attempted to call a dead actor
# ./app/controllers/requests_controller.rb:266:in `create'
# ./spec/features/borrow_process_spec.rb:19:in `login'
# ./spec/features/borrow_process_spec.rb:1060:in `block (3 levels) in <top (required)>'
@brandonhilkert
Copy link

Sorry, but it's really unclear what's going on. If you could share more of the code it might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment