def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...

Best results in other decks

Coverage reports are rarely useful if you run only small parts of your test suite. Just do not load SimpleCov...

RSpec examples can get quite long, especially in feature specs. This makes them hard to read & understand. Also, when executing...

Search in all decks