added testing stuff, and wrote first successful test!

This commit is contained in:
2023-09-30 14:33:24 -07:00
parent 097645cd71
commit a34b788ff4
5 changed files with 80 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
# 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