Commit 7d2ce9c6ed53c9e746e4e22760eef19786a8ee29

Authored by Antonio Terceiro
1 parent b5a8b3a5

Fix test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/user_test.rb
@@ -314,7 +314,7 @@ class UserTest < Test::Unit::TestCase @@ -314,7 +314,7 @@ class UserTest < Test::Unit::TestCase
314 314
315 should "data_hash method have at least the following keys" do 315 should "data_hash method have at least the following keys" do
316 user = create_user('coldplay') 316 user = create_user('coldplay')
317 - expected_keys = ['login','is_admin','since_month', 'since_year', 'email_domain','friends_list','amount_of_friends', 'enterprises', 'bli'] 317 + expected_keys = ['login','is_admin','since_month', 'since_year', 'email_domain','friends_list','amount_of_friends', 'enterprises', ]
318 data = user.data_hash 318 data = user.data_hash
319 assert(expected_keys.all? { |k| data.has_key?(k) }, "User#data_hash expected to have at least the following keys: #{expected_keys.inspect} (missing: #{(expected_keys-data.keys).inspect})") 319 assert(expected_keys.all? { |k| data.has_key?(k) }, "User#data_hash expected to have at least the following keys: #{expected_keys.inspect} (missing: #{(expected_keys-data.keys).inspect})")
320 end 320 end