mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Clean up valid data test
This commit is contained in:
parent
1553229b95
commit
f5faa8877c
1 changed files with 2 additions and 4 deletions
|
@ -38,10 +38,8 @@ describe 'signup' do
|
|||
click_signup_button
|
||||
site_created?.must_equal true
|
||||
|
||||
assert_equal(
|
||||
true,
|
||||
File.exist?(File.join(Site::SITE_FILES_ROOT, @site[:username], 'index.html'))
|
||||
)
|
||||
index_file_path = File.join Site::SITE_FILES_ROOT, @site[:username], 'index.html'
|
||||
File.exist?(index_file_path).must_equal true
|
||||
|
||||
site = Site[username: @site[:username]]
|
||||
site.site_files.length.must_equal 4
|
||||
|
|
Loading…
Add table
Reference in a new issue