FIX: highlight in yellow, not blue

FEATURE: highlight in title
This commit is contained in:
Sam
2014-09-04 15:01:01 +10:00
parent ba4363d8fc
commit 0ade9bafff
7 changed files with 17 additions and 13 deletions

View File

@ -15,7 +15,7 @@ describe SearchController do
response.should be_success
data = JSON.parse(response.body)
data['posts'][0]['id'].should == my_post.id
data['posts'][0]['blurb'].should == 'this is my really <span class=\'highlighted\'>awesome</span> post'
data['posts'][0]['blurb'].should == 'this is my really awesome post'
data['topics'][0]['id'].should == my_post.topic_id
end
end