Rspec Check If Object Of A Class

[Solved] Rspec Check If Object Of A Class | Ruby - Code Explorer | yomemimo.com
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

Answers related to rspec check if object of a class

Code Explorer Popular Question For Ruby