From b48c36ce8ef4a78a31cf09ef2c28104a017bbee0 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 15 Feb 2008 22:13:23 +0000 Subject: [PATCH] ActionItem154: removing useless test --- test/unit/profile_list_block_test.rb | 8 -------- 1 file changed, 0 insertions(+), 8 deletions(-) diff --git a/test/unit/profile_list_block_test.rb b/test/unit/profile_list_block_test.rb index 26f6ddd..09f6bfc 100644 --- a/test/unit/profile_list_block_test.rb +++ b/test/unit/profile_list_block_test.rb @@ -38,14 +38,6 @@ class ProfileListBlockTest < Test::Unit::TestCase assert_kind_of String, instance_eval(&block.content) end - should 'pick most recently-added profiles by default' do - Profile.expects(:find).with(:all, { :limit => 10, :order => 'created_at desc'}) - - block = ProfileListBlock.new - block.limit = 10 - block.profiles - end - should 'use finders to find profiles to be listed' do block = ProfileListBlock.new finder = mock -- libgit2 0.21.2