diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-04-04 15:19:09 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-04-04 15:19:09 -0300 |
commit | 251255e7ca3e1b1526041fdb1f501a884ea468e6 (patch) | |
tree | ab07de4bbfdbfe267269b50de0267357ff5c4f15 /spec | |
parent | 0a4b853f2ceb0ad6c7394d1056f9139e53b38688 (diff) | |
download | gitlab-ce-251255e7ca3e1b1526041fdb1f501a884ea468e6.tar.gz |
Do not set closed_at to nil when issue is reopenedissue_91_ee_backport
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 |