Commit 67210264 authored by Vaz Allen's avatar Vaz Allen

Basic acceptance test for home page

parent 8aefb29a
require_relative '../spec_helper'
describe 'Home page' do
it 'should say Home Page' do
visit '/'
expect(page).to have_content('Home Page')
end
end
......@@ -11,6 +11,7 @@ Capybara.app = Sinatra::Application
RSpec.configure do |config|
# make the capybara methods available in our tests
config.include Capybara::DSL
config.include Capybara::RSpecMatchers
# All of the following just ensures the database is wiped
# before every single test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment