aboutsummaryrefslogtreecommitdiff
path: root/test/lib/main_web_functionality.rb
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2018-02-21 12:51:34 +0300
committerPjotr Prins2018-03-26 09:29:29 +0000
commite1e3ea41578947e47b2f394e6e3ba4f45eceeb82 (patch)
treebcd9956ffee8f29b9b64629190a3d2f1df922ae4 /test/lib/main_web_functionality.rb
parentbaa60e0ae0513e70aa52737bf6059f2043c539bc (diff)
downloadgenenetwork2-e1e3ea41578947e47b2f394e6e3ba4f45eceeb82.tar.gz
Simplify test. Check for content, rather than url
* The test functions were very similar, so this commit refactors out the common test code to a single method, and passes in the data to the test using the parameterized package. * Check that the page content after a login attempt is the expected content, rather than checking the url.
Diffstat (limited to 'test/lib/main_web_functionality.rb')
0 files changed, 0 insertions, 0 deletions