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

For Selenium tests, your browser starts in your local timezone, or whatever your system's environment specifies. This is usually...

Search in all decks