rspec class, method and rake test