stackoverflow.com

You can send xhr requests in your rspec tests by using xhr instead of get or post followed by a...

Best results in other decks

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

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

Search in all decks