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
An RSpec controller test tests a controller as a unit in isolation. That means that collaborators of the controller should be faked/mocked/stubbed. So you should apply the appropriate technique to the Tubesock class (or wrap it yourself and fake/mock/stub your wrapper, which is recommended) so that the tubesock code is not exercised during the controller test.
Please share your results as I expect others are interested in this as well.
It appears that controller specs fail because Puma is not running in RSpec controller tests:
How can one get around this so as to test controllers that use Tubesock?
The text was updated successfully, but these errors were encountered: