diff options
author | Fabio Pitino <fpitino@gitlab.com> | 2019-05-20 16:27:08 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-05-20 16:27:08 +0300 |
commit | 24a81b3dccef87cf4c6837a26fadd702b0418d72 (patch) | |
tree | fa74208933f5a132e126820801df2d5ecd37c606 /spec/serializers | |
parent | 712282cdcc4a97df23829284bfa031613bb05571 (diff) |
Display classname JUnit attribute in report modal
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/test_case_entity_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/serializers/test_case_entity_spec.rb b/spec/serializers/test_case_entity_spec.rb index a55910f98bb..986c9feb07b 100644 --- a/spec/serializers/test_case_entity_spec.rb +++ b/spec/serializers/test_case_entity_spec.rb @@ -14,6 +14,7 @@ describe TestCaseEntity do it 'contains correct test case details' do expect(subject[:status]).to eq('success') expect(subject[:name]).to eq('Test#sum when a is 1 and b is 3 returns summary') + expect(subject[:classname]).to eq('spec.test_spec') expect(subject[:execution_time]).to eq(1.11) end end @@ -24,6 +25,7 @@ describe TestCaseEntity do it 'contains correct test case details' do expect(subject[:status]).to eq('failed') expect(subject[:name]).to eq('Test#sum when a is 2 and b is 2 returns summary') + expect(subject[:classname]).to eq('spec.test_spec') expect(subject[:execution_time]).to eq(2.22) end end |