diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-03-28 13:48:53 +0300 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-03-28 13:52:13 +0300 |
commit | 73203873438d666427228ffdbfe835ea4ffddaa6 (patch) | |
tree | 0d9eb0ba084427bb0a3c2292bec1909cbda62c67 /spec/serializers/deployment_entity_spec.rb | |
parent | 601f50c6421f135b52f737a3b59baa32e6a8f1fd (diff) |
Use DeploymentSerializer to create deployment json
Diffstat (limited to 'spec/serializers/deployment_entity_spec.rb')
-rw-r--r-- | spec/serializers/deployment_entity_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/serializers/deployment_entity_spec.rb b/spec/serializers/deployment_entity_spec.rb index 95eca5463eb..73bd60b62e5 100644 --- a/spec/serializers/deployment_entity_spec.rb +++ b/spec/serializers/deployment_entity_spec.rb @@ -24,4 +24,8 @@ describe DeploymentEntity do expect(subject[:ref][:name]).to eq 'master' expect(subject[:ref][:ref_path]).not_to be_empty end + + it 'exposes creation date' do + expect(subject).to include(:created_at) + end end |