Commit 259efd7b3975612739495aa9d79aeb8f8cae3877
1 parent
1a35b393
Exists in
master
and in
29 other branches
ActionItem135: removing nasty design stuff fixtures
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1149 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
4 changed files
with
0 additions
and
68 deletions
Show diff stats
test/fixtures/design_blocks.yml
@@ -1,44 +0,0 @@ | @@ -1,44 +0,0 @@ | ||
1 | -# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | ||
2 | -#Main Block | ||
3 | -one: | ||
4 | - id: 1 | ||
5 | - box_id: 2 | ||
6 | - position: 1 | ||
7 | - type: 'MainBlock' | ||
8 | - title: 'Main Content' | ||
9 | -# FavoriteLinks Blocks | ||
10 | -two: | ||
11 | - id: 2 | ||
12 | - box_id: 1 | ||
13 | - position: 2 | ||
14 | - type: 'FavoriteLinks' | ||
15 | - title: 'List of Links 1' | ||
16 | -three: | ||
17 | - id: 3 | ||
18 | - box_id: 1 | ||
19 | - position: 3 | ||
20 | - type: 'FavoriteLinks' | ||
21 | - title: 'List of Link 2' | ||
22 | -#List Blocks | ||
23 | -#FIXME Put other blocks to works | ||
24 | -#four: | ||
25 | -# id: 4 | ||
26 | -# box_id: 1 | ||
27 | -# position: 1 | ||
28 | -# type: 'ListBlock' | ||
29 | -# helper: 'list_content' | ||
30 | -# title: 'List of titles 1' | ||
31 | -#five: | ||
32 | -# id: 5 | ||
33 | -# box_id: 3 | ||
34 | -# position: 1 | ||
35 | -# type: 'ListBlock' | ||
36 | -# helper: 'list_content' | ||
37 | -# title: 'List of titles 2' | ||
38 | -#six: | ||
39 | -# id: 6 | ||
40 | -# box_id: 3 | ||
41 | -# position: 2 | ||
42 | -# type: 'ListBlock' | ||
43 | -# helper: 'list_content' | ||
44 | -# title: 'List of titles 3' |
test/fixtures/design_boxes.yml
test/unit/link_block_test.rb
@@ -1,11 +0,0 @@ | @@ -1,11 +0,0 @@ | ||
1 | -require File.dirname(__FILE__) + '/../test_helper' | ||
2 | - | ||
3 | -class LinkBlockTest < Test::Unit::TestCase | ||
4 | - fixtures :design_blocks | ||
5 | - | ||
6 | - # Replace this with your real tests. | ||
7 | - def test_content | ||
8 | - l = LinkBlock.new | ||
9 | - assert_kind_of Array, l.content | ||
10 | - end | ||
11 | -end |
test/unit/list_block_test.rb