expect(page).tohave_field'Project name',with: '🚀 foo bar ☁️'
expect(page).not_tohave_content"Name can contain only letters, digits, emojis '_', '.', dash and space. It must start with letter, digit, emoji or '_'."
end
end
end
fill_in'project_name',with: '🚀 foo bar ☁️'
context'when changing project path'do
# Not using empty project because we need a repo to exist
expect(page).tohave_field'Project name',with: '🚀 foo bar ☁️'
specify'the project is accessible via a redirect from the old path'do
expect(page).not_tohave_content"Name can contain only letters, digits, emojis '_', '.', dash and space. It must start with letter, digit, emoji or '_'."