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
{{ message }}
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.
There is a controller option you can pass to hyper-spec mount but it doesn't seem to work properly. The default hyper-spec controller doesn't inherit from your app's ApplicationController so you won't have access to any custom methods, Devise current_user or Hyperloop acting_user. Basically unless you're testing a very simple public component the default test controller setup won't work for you.
The workaround for now is to pre-define ReactTesrtController somewhere and make it inherit from your ApplicationController:
class ::ReactTestController < ApplicationController
end
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There is a controller option you can pass to hyper-spec mount but it doesn't seem to work properly. The default hyper-spec controller doesn't inherit from your app's ApplicationController so you won't have access to any custom methods, Devise
current_user
or Hyperloopacting_user
. Basically unless you're testing a very simple public component the default test controller setup won't work for you.The workaround for now is to pre-define ReactTesrtController somewhere and make it inherit from your ApplicationController:
The text was updated successfully, but these errors were encountered: