How to test instance variable was instantiated in controller with RSpec September 19, 2023 by Tarik technicalpickles in #rspec helped me out… assigns(:client).should be_kind_of(Client)