resolve rspec issues