Commit 3a1022e3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Increase Issue description size to 10k. Fixes #2545

parent 569a88a4
......@@ -24,7 +24,7 @@ class Issue < ActiveRecord::Base
acts_as_taggable_on :labels
validates :description, length: { within: 0..2000 }
validates :description, length: { within: 0..10000 }
def self.open_for(user)
opened.assigned(user)
......
......@@ -29,7 +29,7 @@ describe Issue do
end
describe "Validation" do
it { should ensure_length_of(:description).is_within(0..2000) }
it { should ensure_length_of(:description).is_within(0..10000) }
end
describe 'modules' do
......
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