Commit 32b977e3632102555c3b9435739fed1fa90b44ec
1 parent
edd73ed5
Exists in
master
and in
29 other branches
Fixing test on chat
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/user_test.rb
... | ... | @@ -335,7 +335,7 @@ class UserTest < ActiveSupport::TestCase |
335 | 335 | Person.any_instance.stubs(:is_admin?).returns(true) |
336 | 336 | Person.any_instance.stubs(:created_at).returns(DateTime.parse('16-08-2010')) |
337 | 337 | expected_hash = { |
338 | - 'login' => 'x_and_y', 'is_admin' => true, 'since_month' => 8, 'since_year' => 2010, 'email_domain' => nil, 'amount_of_friends' => 0, | |
338 | + 'login' => 'x_and_y', 'is_admin' => true, 'since_month' => 8, 'chat_enabled' => false, 'since_year' => 2010, 'email_domain' => nil, 'amount_of_friends' => 0, | |
339 | 339 | 'friends_list' => {}, 'enterprises' => [], |
340 | 340 | } |
341 | 341 | assert_equal expected_hash, person.user.data_hash | ... | ... |