Commit 02a8a20b authored by Valery Sizov's avatar Valery Sizov Committed by Mike Greiling

resolve db/schema.rb, spec/models/issue_spec.rb, and locale/gitlab.pot

parent 10ba0af1
...@@ -11,11 +11,7 @@ ...@@ -11,11 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
<<<<<<< HEAD
ActiveRecord::Schema.define(version: 20180920043317) do ActiveRecord::Schema.define(version: 20180920043317) do
=======
ActiveRecord::Schema.define(version: 20180914201132) do
>>>>>>> 0d2e3b56b1bc175ef1d348d01eb8dfa3ac206ccb
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
......
...@@ -939,12 +939,9 @@ msgstr "" ...@@ -939,12 +939,9 @@ msgstr ""
msgid "Background Jobs" msgid "Background Jobs"
msgstr "" msgstr ""
<<<<<<< HEAD
msgid "Background color" msgid "Background color"
msgstr "" msgstr ""
=======
>>>>>>> 0d2e3b56b1bc175ef1d348d01eb8dfa3ac206ccb
msgid "Badges" msgid "Badges"
msgstr "" msgstr ""
...@@ -2969,7 +2966,6 @@ msgstr "" ...@@ -2969,7 +2966,6 @@ msgstr ""
msgid "Environments|You don't have any environments right now." msgid "Environments|You don't have any environments right now."
msgstr "" msgstr ""
<<<<<<< HEAD
msgid "Environments|protected" msgid "Environments|protected"
msgstr "" msgstr ""
...@@ -3009,11 +3005,9 @@ msgstr "" ...@@ -3009,11 +3005,9 @@ msgstr ""
msgid "Epics|start" msgid "Epics|start"
msgstr "" msgstr ""
=======
msgid "Epic" msgid "Epic"
msgstr "" msgstr ""
>>>>>>> 0d2e3b56b1bc175ef1d348d01eb8dfa3ac206ccb
msgid "Error" msgid "Error"
msgstr "" msgstr ""
......
...@@ -90,7 +90,6 @@ describe Issue do ...@@ -90,7 +90,6 @@ describe Issue do
it 'sets closed_at to Time.now when an issue is closed' do it 'sets closed_at to Time.now when an issue is closed' do
expect { issue.close }.to change { issue.closed_at }.from(nil) expect { issue.close }.to change { issue.closed_at }.from(nil)
end end
<<<<<<< HEAD
it 'changes the state to closed' do it 'changes the state to closed' do
expect { issue.close }.to change { issue.state }.from('opened').to('closed') expect { issue.close }.to change { issue.state }.from('opened').to('closed')
...@@ -101,18 +100,6 @@ describe Issue do ...@@ -101,18 +100,6 @@ describe Issue do
let(:user) { create(:user) } let(:user) { create(:user) }
let(:issue) { create(:issue, state: 'closed', closed_at: Time.now, closed_by: user) } let(:issue) { create(:issue, state: 'closed', closed_at: Time.now, closed_by: user) }
=======
it 'changes the state to closed' do
expect { issue.close }.to change { issue.state }.from('opened').to('closed')
end
end
describe '#reopen' do
let(:user) { create(:user) }
let(:issue) { create(:issue, state: 'closed', closed_at: Time.now, closed_by: user) }
>>>>>>> 0d2e3b56b1bc175ef1d348d01eb8dfa3ac206ccb
it 'sets closed_at to nil when an issue is reopend' do it 'sets closed_at to nil when an issue is reopend' do
expect { issue.reopen }.to change { issue.closed_at }.to(nil) expect { issue.reopen }.to change { issue.closed_at }.to(nil)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment