Mock remote census responses in tests using XML
By using real XML responses developers will be able to understand better how the integration works (the data flow), and the correspondency between `remote_census` settings and their place at a real XML response. As `stubbed_responses` methods were removed from the model layer now the stubbing part should be managed from the test environment code so also added a new helper module `RemoteCensusSetup` that can be used anywhere where we need to call the web service. Co-Authored-By: Javi Martín <javim@elretirao.net>
This commit is contained in:
committed by
Javi Martín
parent
8257a82f2f
commit
ac6260a2ef
@@ -8,6 +8,7 @@ module CommonActions
|
||||
include Notifications
|
||||
include Polls
|
||||
include Proposals
|
||||
include RemoteCensusMock
|
||||
include Tags
|
||||
include Translations
|
||||
include Users
|
||||
|
||||
Reference in New Issue
Block a user