You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to run single(!) rails interactor at rails 6. According to https://github.com/collectiveidea/interactor-rails execute: rails generate interactor authenticate_user to create interactor. Command bin/rspec works perfectly and produce output:
Pending: (Failures listed here are expected and do not affect your suite's status)
1) AuthenticateUser.call add some examples to (or delete) /Users/.../spec/interactors/authenticate_user_spec.rb
# Not yet implemented
# ./spec/interactors/authenticate_user_spec.rb:5
Command bin/rspec spec/interactors/authenticate_user_spec.rb to run single interactor produces error:
An error occurred while loading ./spec/interactors/authenticate_user_spec.rb.
Failure/Error:
RSpec.describe AuthenticateUser, type: :interactor do
describe '.call' do
pending "add some examples to (or delete) #{__FILE__}"
end
end
NameError:
uninitialized constant AuthenticateUser
# ./spec/interactors/authenticate_user_spec.rb:3:in `<top (required)>'
No examples found.
Finished in 0.00004 seconds (files took 0.25648 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
Sprint has been stopped: command "spring status"output: "Spring is not running"
Does anybody know how to run spec for single interactor? Could somebody help me to find problem? Thanks!
Sincerely yours,
Anna.
The text was updated successfully, but these errors were encountered:
Dear support,
wasn't able to get answer at https://stackoverflow.com/questions/62833926/unable-to-run-single-rails-interactor-at-rails-6
Unable to run single(!) rails interactor at rails 6. According to https://github.com/collectiveidea/interactor-rails execute: rails generate interactor authenticate_user to create interactor. Command bin/rspec works perfectly and produce output:
Command bin/rspec spec/interactors/authenticate_user_spec.rb to run single interactor produces error:
Sprint has been stopped: command "spring status"output: "Spring is not running"
Does anybody know how to run spec for single interactor? Could somebody help me to find problem? Thanks!
Sincerely yours,
Anna.
The text was updated successfully, but these errors were encountered: