[ckan-changes] [okfn/ckan] 3270a9: [#1280] Fix for broken mocha test

GitHub noreply at github.com
Wed Oct 16 12:47:35 UTC 2013


  Branch: refs/heads/1280-mocha-test-fix
  Home:   https://github.com/okfn/ckan
  Commit: 3270a930ac2576c969a9870fe23acf2bfe044b65
      https://github.com/okfn/ckan/commit/3270a930ac2576c969a9870fe23acf2bfe044b65
  Author: John Martin <me at johnmart.in>
  Date:   2013-10-16 (Wed, 16 Oct 2013)

  Changed paths:
    M ckan/public/base/javascript/modules/autocomplete.js
    M ckan/public/base/test/spec/modules/autocomplete.spec.js

  Log Message:
  -----------
  [#1280] Fix for broken mocha test

Essentially it's:

- Make sure the `lookup` method was being called with the required
  params
- Then make sure that `this._select2` exists before calling it
  (because there are some circumstances where it might not exist)





More information about the ckan-changes mailing list