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
Currently using rspec-rails controller specs with anonymous controllers in order to get a view context. eg:
# Make this a controller spec for easy access to an ActionView contextRSpec.describeAtomicComponent::Base,type: :controllerdocontroller(ActionController::Base){}let(:view_context){controller.view_context}# ...end
Would be nice to get this context more easily. Maybe we add a type: :component for rspec?
Currently using rspec-rails controller specs with anonymous controllers in order to get a view context. eg:
Would be nice to get this context more easily. Maybe we add a
type: :component
for rspec?Also a helper to add to context. Currently doing:
The text was updated successfully, but these errors were encountered: