]> cat aescling's git repositories - mastodon.git/commit
Services specs for subscribe and unsubscribe (#2928)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Mon, 8 May 2017 22:45:02 +0000 (18:45 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 8 May 2017 22:45:02 +0000 (00:45 +0200)
commit5bea42412e41b1121af04dbe6ef5c9bed22219b8
treef121a12cd27f567f8d7d7f7066ff302240d24dd2
parent04166c4a35c97f5540252617c7858bf20d315a7e
Services specs for subscribe and unsubscribe (#2928)

* Add specs for unsubscribe service

* Fix non existent methods in unsubscribe service

* Clean up status handling in subscribe service
app/services/subscribe_service.rb
app/services/unsubscribe_service.rb
spec/services/subscribe_service_spec.rb
spec/services/unsubscribe_service_spec.rb [new file with mode: 0644]