Refactor checkins_spec.rb