fix a broken test

This commit is contained in:
Kyle Drake 2014-11-03 14:14:07 -08:00
parent cd78c91abb
commit d2f349acd6
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ describe 'site page' do
visit "/browse?tag=#{tag}"
page.find('.website-Gallery .title a')['href'].must_match /\/surf\/#{blocked_site.username}/
page.find('.website-Gallery .username a')['href'].must_match /\/site\/#{blocked_site.username}/
visit "/site/#{blocked_site.username}"

View file

@ -36,7 +36,7 @@ describe 'api info' do
res[:info][:sitename].must_equal @site.username
res[:info][:hits].must_equal 31337
res[:info][:created_at].must_equal @site.created_at.rfc2822
res[:info][:last_updated].must_equal @site.updated_at.rfc2822
res[:info][:last_updated].must_equal nil
res[:info][:domain].must_equal 'derp.com'
res[:info][:tags].must_equal ['derpie', 'man']
end