Testing:
- i18n-tasks missing base
- i18n-tasks unused base
- bundle exec rake / bundle exec rspec
- rspec <path/to/spec/file.rb:line>
Debugging:
RSpec
- save_and_open_page
- expect(page).to have_css(‘input[type=”email”][id*=”student_email”]’) # the “contains” operator (*=) – not needed here but interesting!
- find_field “student_email”
Elasticsearch:
- sudo service elasticsearch status
- sudo service elasticsearch start