Add in Gemfile: group :development, :test do gem 'rspec-rails' gem 'spork-rails' end group :test do gem 'capybara'

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...

Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...

Search in all decks