Skip to content
Snippets Groups Projects
Commit 3a1022e3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Increase Issue description size to 10k. Fixes #2545

parent 569a88a4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment