Commit e44337e61f2fb36ff622e923afa6c23a23f4a5b9

Authored by Joenio Costa
Committed by Daniela Feitosa
1 parent f38bc6a1

Removing unused ImageGallery model

app/models/image_gallery.rb
@@ -1,11 +0,0 @@ @@ -1,11 +0,0 @@
1 -class ImageGallery < Article  
2 -  
3 - def self.short_description  
4 - _('Image gallery')  
5 - end  
6 -  
7 - def self.description  
8 - _('A collection of photos, logos or other kinds of images.')  
9 - end  
10 -  
11 -end  
test/unit/image_gallery_test.rb
@@ -1,17 +0,0 @@ @@ -1,17 +0,0 @@
1 -require File.dirname(__FILE__) + '/../test_helper'  
2 -  
3 -class ImageGalleryTest < Test::Unit::TestCase  
4 -  
5 - should 'be a type of article' do  
6 - assert_kind_of Article, ImageGallery.new  
7 - end  
8 -  
9 - should 'provide description' do  
10 - assert_kind_of String, ImageGallery.description  
11 - end  
12 -  
13 - should 'provide short description' do  
14 - assert_kind_of String, ImageGallery.short_description  
15 - end  
16 -  
17 -end