mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix a broken test
This commit is contained in:
parent
cd78c91abb
commit
d2f349acd6
2 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue