Commit b48c36ce8ef4a78a31cf09ef2c28104a017bbee0
1 parent
8687baa5
Exists in
master
and in
28 other branches
ActionItem154: removing useless test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1407 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
0 additions
and
8 deletions
Show diff stats
test/unit/profile_list_block_test.rb
... | ... | @@ -38,14 +38,6 @@ class ProfileListBlockTest < Test::Unit::TestCase |
38 | 38 | assert_kind_of String, instance_eval(&block.content) |
39 | 39 | end |
40 | 40 | |
41 | - should 'pick most recently-added profiles by default' do | |
42 | - Profile.expects(:find).with(:all, { :limit => 10, :order => 'created_at desc'}) | |
43 | - | |
44 | - block = ProfileListBlock.new | |
45 | - block.limit = 10 | |
46 | - block.profiles | |
47 | - end | |
48 | - | |
49 | 41 | should 'use finders to find profiles to be listed' do |
50 | 42 | block = ProfileListBlock.new |
51 | 43 | finder = mock | ... | ... |