diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-20 09:51:18 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-08-20 09:51:18 +0100 |
commit | 3d12cbe6ee7ff49dad9a473efc0792b2a4f4cba6 (patch) | |
tree | 1c43d3a004293f442f61b0e64847a4ef16cacd2a /spec/controllers/api_controller_spec.rb | |
parent | c449240a1b1cddebb53e9748b15be43c0f65c463 (diff) | |
parent | 4b95ccffc468c256d6ba6248303dd2b78bf5896a (diff) |
Merge branch 'release/0.13' into wdtk
Conflicts:
locale/he_IL/app.po
locale/hr_HR/app.po
locale/nb_NO/app.po
locale/uk/app.po
Diffstat (limited to 'spec/controllers/api_controller_spec.rb')
-rw-r--r-- | spec/controllers/api_controller_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/controllers/api_controller_spec.rb b/spec/controllers/api_controller_spec.rb index 66b8e33f0..8e9d17fbe 100644 --- a/spec/controllers/api_controller_spec.rb +++ b/spec/controllers/api_controller_spec.rb @@ -83,6 +83,9 @@ describe ApiController, "when using the API" do new_request.last_event_forming_initial_request.outgoing_message.body.should == request_data["body"].strip new_request.public_body_id.should == public_bodies(:geraldine_public_body).id + new_request.info_request_events.size.should == 1 + new_request.info_request_events[0].event_type.should == 'sent' + new_request.info_request_events[0].calculated_state.should == 'waiting_response' end def _create_request |