better rspec code