fix rspec
This commit is contained in:
@@ -14,9 +14,7 @@ RSpec.describe 'Dashboard Page' do
|
|||||||
it 'shows empty state' do
|
it 'shows empty state' do
|
||||||
visit root_path
|
visit root_path
|
||||||
|
|
||||||
expect(page).to have_content('Welcome to DocuSeal')
|
expect(page).to have_link('Create', href: new_template_path)
|
||||||
expect(page).to have_content('Streamline document workflows, from creating customizable')
|
|
||||||
expect(page).to have_link('Create Template', href: new_template_path)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ RSpec.describe 'App Setup' do
|
|||||||
sign_in(user)
|
sign_in(user)
|
||||||
visit setup_index_path
|
visit setup_index_path
|
||||||
|
|
||||||
expect(page).to have_content('Welcome to DocuSeal')
|
expect(page).to have_link('Create', href: new_template_path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user