url-shortener/features/step_definitions/steps.rb

16 lines
170 B
Ruby

# GIVEN
Given('I visit the homepage') do
visit '/'
end
# WHEN
# THEN
Then('I should see {string}') do |string|
page.should have_content "URL Shortener"
end