fix tests

4-2-stable
Valeriy Sizov 2013-01-22 17:25:35 +02:00
parent 745c0dfa57
commit e982a9512e
2 changed files with 0 additions and 5 deletions

View File

@ -28,10 +28,6 @@ describe Issue do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validation" do
it { should ensure_length_of(:description).is_within(0..10000) }
end
describe 'modules' do
it { should include_module(Issuable) }
end

View File

@ -38,6 +38,5 @@ describe Snippet do
it { should ensure_length_of(:title).is_within(0..255) }
it { should validate_presence_of(:content) }
it { should ensure_length_of(:content).is_within(0..10_000) }
end
end