Makes it easier to find the right html elements outside of hound.
This commit moves the helpers for Hound to a seperate file so that the
Hound helpers could still be used without using the Floki helpers
outomatically.
It introduces a new file FlokiHelpers that introduces the functions
find_test_selectors/2
find_test_selectors/3
find_test_selector/2
find_test_selector/3
find_test_values/1
find_test_values/2
find_test_value/2
These function are to make it easy to find the specific elements in both
controller and view tests where an html document or an html fragment is
given.
Makes it easier to find the right html elements outside of hound.
This commit moves the helpers for Hound to a seperate file so that the Hound helpers could still be used without using the Floki helpers outomatically.
It introduces a new file
FlokiHelpers
that introduces the functionsfind_test_selectors/2
find_test_selectors/3
find_test_selector/2
find_test_selector/3
find_test_values/1
find_test_values/2
find_test_value/2
These function are to make it easy to find the specific elements in both controller and view tests where an html document or an html fragment is given.