Commit 1cb8eaf06d1a5e7890776967093f8646a9b9c741

Authored by Antonio Terceiro
1 parent 173c8a87

Fixing test

(ActionItem1256)
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
test/unit/profile_test.rb
... ... @@ -746,8 +746,8 @@ class ProfileTest < Test::Unit::TestCase
746 746 p = Profile.new
747 747 p.expects(:region).returns(nil)
748 748 e = Environment.default
749   - p.expects(:environment).returns(e)
750   - e.expects(:location).returns('Brasil')
  749 + p.stubs(:environment).returns(e)
  750 + e.stubs(:location).returns('Brasil')
751 751 assert_equal 'Brasil', p.geolocation
752 752 end
753 753  
... ...