summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-01-01 09:04:30 -0500
committerSam Rose <sam@gitlab.com>2017-01-16 07:55:20 -0500
commit3f2eaaa26b68a61c506f847c8f56d7411058da7f (patch)
treed514cf4e15ee4efb35fbaab9dd32da3092d4f67a /spec/serializers
parent4b43126d08972c201551fbd1fe42e85847d5e03f (diff)
downloadgitlab-ce-3f2eaaa26b68a61c506f847c8f56d7411058da7f.tar.gz
Retain original casing for build name in manual pipeline dropdown25946-manual-pipeline-dropdown-casing
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/build_action_entity_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/build_action_entity_spec.rb b/spec/serializers/build_action_entity_spec.rb
index 383704572b1..0f7be8b2c39 100644
--- a/spec/serializers/build_action_entity_spec.rb
+++ b/spec/serializers/build_action_entity_spec.rb
@@ -10,8 +10,8 @@ describe BuildActionEntity do
describe '#as_json' do
subject { entity.as_json }
- it 'contains humanized build name' do
- expect(subject[:name]).to eq 'Test build'
+ it 'contains original build name' do
+ expect(subject[:name]).to eq 'test_build'
end
it 'contains path to the action play' do