Question : rspec check if object of a class
Answered by : akshay-kakade
expect(@object).to be_a Shirt
Source : https://stackoverflow.com/questions/13548375/using-rspec-to-check-if-something-is-an-instance-of-another-object | Last Update : Mon, 11 Jul 22