Commit Graph

228 Commits (958091e000eaf70385526a6ed3e8b1c1a93c6085)

Author SHA1 Message Date
bucky b66a5bb3e1 Merge pull request 'tests' (#7) from tests into master
Reviewed-on: #7
2023-10-02 13:03:46 -07:00
Adam Townsend cb027e19c8 generalized fill in field with text action 2023-10-02 13:02:48 -07:00
Adam Townsend 52a6bac85f added 3rd test case for submitting a url 2023-10-02 11:37:19 -07:00
bucky 1e9a066cd1 Merge pull request 'tests' (#6) from tests into master
Reviewed-on: #6
2023-10-01 12:26:20 -07:00
Adam Townsend a1ea2a09ec expanded click button to click any button for easier use 2023-10-01 12:14:41 -07:00
Adam Townsend 445236d735 2nd scenario
+ added a scenario for submitting the button with no text  in url field
+ simplified the visit when clause to be used with any url
+ edited create route redirect if url param is empty (backend validation
  for required URL field)
+ added when clause for clicking submit button
+ added then clause for current path/page
2023-10-01 12:10:30 -07:00
Adam Townsend 94026bdad2 added more parts for the first scenario and updated code to work with the changes 2023-09-30 18:39:30 -07:00
Adam Townsend b827f72f25 ignore vim swap files 2023-09-30 18:38:56 -07:00
Adam Townsend a34b788ff4 added testing stuff, and wrote first successful test! 2023-09-30 14:33:24 -07:00
Adam Townsend 097645cd71 added word break to output view, removed custome validation messages on
form
2023-09-25 13:58:40 -07:00
Adam Townsend 3e6500ae1c removed rails gem, not sure why it was in there to begin with 2023-09-25 11:06:59 -07:00
Adam Townsend 868ed81b97 set min height so box stays the same between views 2023-09-24 11:29:22 -07:00
Adam Townsend 57790ff464 custom validation message 2023-09-24 10:19:45 -07:00
Adam Townsend d2a411d94c url validation 2023-09-22 18:31:32 -07:00
Adam Townsend 8cabe5c7b6 more layout updates 2023-09-22 18:26:38 -07:00
Adam Townsend c0c82e5395 added some simple styles to make it nicer 2023-09-22 17:42:50 -07:00
Adam Townsend 47f8741592 added logic to prevent duplicate url's from being entered, it just
fetches the url and load it instead
2023-09-22 15:11:06 -07:00
Adam Townsend 935b0c5a9f cucumber initialization 2023-09-19 15:40:18 -07:00
Adam Townsend a3d7525d9a added rspec, rack test, and cucumber gems 2023-09-19 12:23:38 -07:00
Adam Townsend 1652107549 got app working reasonably well, and removed db file, that shouldn't be in the db 2023-09-14 22:30:33 -07:00
Adam Townsend 3e789f832a added form to create shortened url 2023-09-14 18:54:20 -07:00
Adam Townsend 3b2184ffd7 added home, create, and layout views 2023-09-14 18:50:11 -07:00
Adam Townsend b85a577ec2 use render plugin to load erb html views 2023-09-14 18:49:18 -07:00
Adam Townsend 239d36ad85 added tilt for rendering HTML 2023-09-14 18:49:08 -07:00
Adam Townsend a60a022365 some readme text to help get started 2023-09-13 19:08:49 -07:00
Adam Townsend 795f547ff2 added sequel and sqlite bits for the table 2023-09-13 19:08:40 -07:00
Adam Townsend 81b22d0c4a initial framework for the shortener routes 2023-09-13 13:29:45 -07:00
Adam Townsend c6fa7eafe3 initial commit with gemfile 2023-09-13 12:36:08 -07:00