diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-05 08:05:32 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-04-05 08:05:32 +0000 |
commit | 20e6670a4779addff3244ee8713b6a6a8f969e4c (patch) | |
tree | 236ae43c23dcaa82830da8fb04fa27c6f896e431 /spec | |
parent | d4d95ad32fb1f47ecb4b6d0e8d9885dba0222453 (diff) | |
parent | 251255e7ca3e1b1526041fdb1f501a884ea468e6 (diff) | |
download | gitlab-ce-20e6670a4779addff3244ee8713b6a6a8f969e4c.tar.gz |
Merge branch 'issue_91_ee_backport' into 'master'
Do not set closed_at to nil when issue is reopened
See merge request !10453
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/issue_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb index b8584301baa..4bdd46a581d 100644 --- a/spec/models/issue_spec.rb +++ b/spec/models/issue_spec.rb @@ -51,14 +51,6 @@ describe Issue, models: true do expect(issue.closed_at).to eq(now) end - - it 'sets closed_at to nil when issue is reopened' do - issue = create(:issue, state: 'closed') - - issue.reopen - - expect(issue.closed_at).to be_nil - end end describe '#to_reference' do |