Commit 637facb7ec2a4075f7ae38e1eb4cba9c60ceb106

Authored by AntonioTerceiro
1 parent 4d68bf95

ActionItem253: fixing test


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1734 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
test/unit/environment_finder_test.rb
... ... @@ -53,8 +53,8 @@ class EnvironmentFinderTest < ActiveSupport::TestCase
53 53 ent1 = Enterprise.create!(:name => 'teste1', :identifier => 'teste1')
54 54 ent2 = Enterprise.create!(:name => 'teste2', :identifier => 'teste2')
55 55 recent = finder.recent('enterprises', 1)
56   - assert_includes recent, ent1
57   - assert_not_includes recent, ent2
  56 + assert_includes recent, ent2 # newer
  57 + assert_not_includes recent, ent1 # older
58 58 end
59 59  
60 60 should 'count entrprises' do
... ...