diff --git a/tests/acceptance/site_tests.rb b/tests/acceptance/site_tests.rb index a38f5da7..fc0ba905 100644 --- a/tests/acceptance/site_tests.rb +++ b/tests/acceptance/site_tests.rb @@ -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}" diff --git a/tests/api_tests.rb b/tests/api_tests.rb index 379a25c3..930eda3b 100644 --- a/tests/api_tests.rb +++ b/tests/api_tests.rb @@ -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