“For invalid user name and password combinations, the service should return a 400 HTTP status code, which means that the server received… — Paul Dix Kindlehighlight Copy Share Image
“Many programmers would prefer to mock in their client library specs, but doing so could result in the service and client passing… — Paul Dix Failure Copy Share Image
“However, for the purposes of migrating existing Rails applications to services, the shared database approach may be necessary in the early stages.” — Paul Dix Kindlehighlight Copy Share Image
“for the service in spec/service_spec.rb, you add another describe block:” — Paul Dix Kindlehighlight Copy Share Image
“Services isolated on business logic can share data sources with other systems.” — Paul Dix Business Copy Share Image
“You create a file called user.rb in the /models directory:” — Paul Dix Kindlehighlight Copy Share Image