Fix Nameerror at rspec