fix test of at

This commit is contained in:
jiyinyiyong 2014-03-18 00:16:35 +08:00
parent b8c6e9287e
commit c8a624bcfd

View File

@ -23,10 +23,10 @@ describe('services/at.js', function () {
testuser3 @testuser2你好 \
@testuser1@testuser3\
@testuser2@testuser123 oh my god';
var linkedText = '@[testuser1](/user/testuser1) , hellowprd testuser1 testuser2 \
testuser3 @[testuser2](/user/testuser2) \
@[testuser1](/user/testuser1)@[testuser3](/user/testuser3)\
@[testuser2](/user/testuser2)@[testuser1](/user/testuser1)23 oh my god';
var linkedText = '[@testuser1](/user/testuser1) , hellowprd testuser1 testuser2 \
testuser3 [@testuser2](/user/testuser2) \
[@testuser1](/user/testuser1)[@testuser3](/user/testuser3)\
[@testuser2](/user/testuser2)[@testuser1](/user/testuser1)23 oh my god';
describe('fetchUsers()', function () {
var mentionUser = rewire('../../services/at');