everydayrails / everydayrails-rspec-2017

Sample source for the 2017 edition of Everyday Rails Testing with RSpec.
http://rspectutorial.com
312 stars 247 forks source link

3A in geocode_user_job_spec #31

Closed ogirginc closed 5 years ago

ogirginc commented 6 years ago

Most worker related examples I have seen, seems to abandon "Arrange, Act, Assert" (3A). So, just out of curiosity, can you come up with a way to follow 3A in:

https://github.com/everydayrails/everydayrails-rspec-2017/blob/3a001f9aacb32c3f6da2ff08e2cf3932a34fef22/spec/jobs/geocode_user_job_spec.rb#L5-L7