diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-23 13:30:34 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-23 13:30:34 +0200 |
commit | 92de5f778faa989fb25f9a5c93c5e23618f2d87b (patch) | |
tree | d1151b79ed9699d1274352ffa32960c14e477519 | |
parent | dab3ae39a2093fa924daf9c1902a2784002cca63 (diff) | |
download | gitlab-ce-92de5f778faa989fb25f9a5c93c5e23618f2d87b.tar.gz |
Fix Rubocop offense in grouped statuses class specs
-rw-r--r-- | spec/models/ci/group_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/group_spec.rb b/spec/models/ci/group_spec.rb index 9052dd59369..838fa63cb1f 100644 --- a/spec/models/ci/group_spec.rb +++ b/spec/models/ci/group_spec.rb @@ -55,7 +55,7 @@ describe Ci::Group do it 'returns an array of three groups' do expect(stage.groups).to be_a Array - expect(stage.groups).to all(be_a Ci::Group) + expect(stage.groups).to all(be_a described_class) expect(stage.groups.size).to eq 3 end |