diff options
-rw-r--r-- | app/models/issue.rb | 2 | ||||
-rw-r--r-- | spec/models/issue_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 7381136c979..40a6c01577d 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -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) diff --git a/spec/models/issue_spec.rb b/spec/models/issue_spec.rb index b4fb9cd8fdd..0816b3eed5a 100644 --- a/spec/models/issue_spec.rb +++ b/spec/models/issue_spec.rb @@ -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 |