mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix tests
This commit is contained in:
parent
f2bf9da535
commit
dbdf55841f
5 changed files with 16 additions and 16 deletions
|
@ -5,7 +5,7 @@ describe 'index' do
|
|||
it 'goes to signup' do
|
||||
Capybara.reset_sessions!
|
||||
visit '/'
|
||||
click_button 'Create My Website'
|
||||
click_button 'Create My Site'
|
||||
page.must_have_content('Create a New Website')
|
||||
end
|
||||
end
|
|
@ -203,7 +203,7 @@ describe 'site/settings' do
|
|||
|
||||
def visit_signup
|
||||
visit '/'
|
||||
click_button 'Create My Website'
|
||||
click_button 'Create My Site'
|
||||
end
|
||||
|
||||
def fill_in_valid
|
||||
|
@ -220,7 +220,7 @@ describe 'site/settings' do
|
|||
|
||||
it 'does not allow bad usernames' do
|
||||
visit '/'
|
||||
click_button 'Create My Website'
|
||||
click_button 'Create My Site'
|
||||
fill_in_valid
|
||||
click_button 'Create Home Page'
|
||||
visit "/settings/#{@site[:username]}#username"
|
||||
|
|
|
@ -39,7 +39,7 @@ describe 'signin' do
|
|||
|
||||
it 'signs in with proper credentials' do
|
||||
visit '/'
|
||||
click_button 'Create My Website'
|
||||
click_button 'Create My Site'
|
||||
fill_in_valid_signup
|
||||
click_button 'Create Home Page'
|
||||
Capybara.reset_sessions!
|
||||
|
@ -53,7 +53,7 @@ describe 'signin' do
|
|||
|
||||
it 'signs in with email' do
|
||||
visit '/'
|
||||
click_button 'Create My Website'
|
||||
click_button 'Create My Site'
|
||||
fill_in_valid_signup
|
||||
click_button 'Create Home Page'
|
||||
Capybara.reset_sessions!
|
||||
|
|
|
@ -12,7 +12,7 @@ describe 'signup' do
|
|||
|
||||
def visit_signup
|
||||
visit '/'
|
||||
click_button 'Create My Website'
|
||||
click_button 'Create My Site'
|
||||
end
|
||||
|
||||
before do
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title><%= title %></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta itemprop="name" content="Neocities.org">
|
||||
<meta itemprop="description" content="Create your own free home page, and do whatever you want with it.">
|
||||
<meta name="description" content="Neocities is the new Geocities. Create your own free home page, and do whatever you want with it.">
|
||||
<meta name="keywords" content="free website, html, css, learn to code, free hosting, build a website, create a web page" >
|
||||
<meta name="keywords" content="free website, html, css, learn to code, free hosting, build a website, create a web page">
|
||||
<meta property="og:title" content="Neocities">
|
||||
<meta property="og:site_name" content="Neocities | neocities.org">
|
||||
<meta property="og:type" content="website">
|
||||
|
@ -14,14 +14,14 @@
|
|||
<meta property="og:url" content="https://www.neocities.org">
|
||||
<meta property="og:description" content="Neocities is the new Geocities. Create your own free home page, and do whatever you want with it.">
|
||||
|
||||
<link href="/css/neo.css" rel="stylesheet" type="text/css" media="all"/>
|
||||
<link href="/css/neo.css" rel="stylesheet" type="text/css" media="all">
|
||||
|
||||
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
|
||||
<link href="/favicon.ico" rel="shortcut icon" type="image/ico">
|
||||
|
||||
<!-- Mobile Meta -->
|
||||
<meta name="HandheldFriendly" content="True" />
|
||||
<meta name="MobileOptimized" content="320" />
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1" />
|
||||
<meta name="HandheldFriendly" content="True">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="/js/html5.min.js"></script>
|
||||
|
|
Loading…
Add table
Reference in a new issue