Testing your jquery mobile application with cucumber - part 2
(Note that as I writing this I am using rails 3.1.2 + cucumber 1.1.2)
Here we set Before and After @mobile tag. It’s important to set default driver to rack_test - selenium is much slower and we don’t realy need this in ours desktop version tests.
It’s time for some tests and steps for them. Note that for files which contain’s mobile tests we use @mobile tag.
We are ready to run tests!