added testing stuff, and wrote first successful test!
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user