Commit Graph

6 Commits (b62d45d0d846f099f4551b94f257ad50c370f85c)

Author SHA1 Message Date
Adam Townsend 7d35133e43 require capybara and rspec parts needed for tests to run instead of
including them. rubocop autofixed formatting
2023-10-22 13:14:23 -07:00
Adam Townsend 81b12b5d6f added simplecov and a new test
+ simplecov is a test coverage tool to show what code is covered and
  where holes are
+ added newest test to validate that the redirect url works as expected
2023-10-03 18:29:03 -07:00
Adam Townsend 5ca4bf707b removed rspec db setup, i probably didn't have it set right to clean up
after each task, implemented that in the before and after steps
2023-10-03 16:02:33 -07:00
Adam Townsend 8b2780820c update for features
+ added flash/message assertions
+ adjusted urls to be http://google.com for tests for now
+ added @db-test tags to tests that use db interactions
+ added a scenario for duplicate URLs being used
+ added before and after steps to init and clean up db tests
+ added initialization of a test db for tests instead of interacting
  with the production database
2023-10-03 15:58:56 -07:00
Adam Townsend a34b788ff4 added testing stuff, and wrote first successful test! 2023-09-30 14:33:24 -07:00
Adam Townsend 935b0c5a9f cucumber initialization 2023-09-19 15:40:18 -07:00