{"_id":"ralphs-little-helpers","_rev":"31-7e41f35fcf11d8154e47e434b352e245","name":"ralphs-little-helpers","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.3":{"name":"ralphs-little-helpers","version":"0.0.3","keywords":["ember-addon","test helpers","qunit matchers","thoughtbot"],"author":{"name":"Sean Doyle","email":"sean.p.doyle24@gmail.com"},"license":"MIT","_id":"ralphs-little-helpers@0.0.3","maintainers":[{"name":"thoughtbot","email":"ralph@thoughtbot.com"}],"homepage":"https://github.com/thoughtbot/ralphs-little-helpers#readme","bugs":{"url":"https://github.com/thoughtbot/ralphs-little-helpers/issues"},"dist":{"shasum":"25f1df53acfe81028d3b4b5406294c2a9208d474","tarball":"https://registry.npmjs.org/ralphs-little-helpers/-/ralphs-little-helpers-0.0.3.tgz","integrity":"sha512-vlD15Jxqj7y3+GYPOzyZkoKWE/G4xdyEG+5Iw6xQ6/XqEoM3xsRbZ4tNZ5UCM0q51U6Pq6y0x8sCraC9/b1/pg==","signatures":[{"sig":"MEUCIQDl52XSxuLC8/uK2eh/RG60dQNNrvGFyoJErNcND6fLhwIgQJ9JDITfv1ok4Gp7sOvC/YL5lVIej4/DyyuTcjYHEZ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"25f1df53acfe81028d3b4b5406294c2a9208d474","engines":{"node":">= 0.10.0"},"gitHead":"3897c4ba9f235009158cc9134a8b903bfe2ec762","scripts":{"test":"ember try:testall","build":"ember build","start":"ember server"},"_npmUser":{"name":"thoughtbot","email":"ralph@thoughtbot.com"},"repository":{"url":"git+https://github.com/thoughtbot/ralphs-little-helpers.git","type":"git"},"_npmVersion":"2.14.6","description":"thoughtbot's Ember Test Helpers","directories":{"doc":"doc","test":"tests"},"ember-addon":{"configPath":"tests/dummy/config"},"_nodeVersion":"4.1.2","dependencies":{"ember-cli-babel":"^5.0.0"},"devDependencies":{"ember-cli":"1.13.5","ember-try":"0.0.6","ember-data":"1.13.7","ember-cli-sri":"^1.0.1","ember-cli-qunit":"0.3.18","ember-cli-uglify":"^1.0.1","ember-cli-ic-ajax":"0.2.1","ember-cli-release":"0.2.3","broccoli-asset-rev":"^2.0.2","ember-cli-es5-shim":"0.1.1","ember-cli-htmlbars":"0.7.9","ember-cli-app-version":"0.4.0","ember-cli-dependency-checker":"^1.0.0","ember-cli-inject-live-reload":"^1.3.0","ember-disable-proxy-controllers":"^1.0.0","ember-export-application-global":"^1.0.3","ember-cli-content-security-policy":"0.4.0","ember-disable-prototype-extensions":"^1.0.0","ember-cli-htmlbars-inline-precompile":"^0.1.1"}},"0.0.4":{"name":"ralphs-little-helpers","version":"0.0.4","keywords":["ember-addon","test helpers","qunit matchers","thoughtbot"],"author":{"name":"Sean Doyle","email":"sean.p.doyle24@gmail.com"},"license":"MIT","_id":"ralphs-little-helpers@0.0.4","maintainers":[{"name":"thoughtbot","email":"ralph@thoughtbot.com"}],"homepage":"https://github.com/thoughtbot/ralphs-little-helpers#readme","bugs":{"url":"https://github.com/thoughtbot/ralphs-little-helpers/issues"},"dist":{"shasum":"e882220e93363fc56ef4a99e5474aa819a37e366","tarball":"https://registry.npmjs.org/ralphs-little-helpers/-/ralphs-little-helpers-0.0.4.tgz","integrity":"sha512-lBDLdDA3xOOgtiY3Ae3LZwZw1iT0MpEFAiBX59iZWEjASiwNCWgAtxKiaQgbk+sWdbf7mnm8HktRt3PUvOF6yg==","signatures":[{"sig":"MEUCIQCSYUT3n9EajvllS1nFxpIPBhAHwVwjvSFjG+taJ1cQJwIgXcy13f/BXZ/Loe6LphYsG3e2U9aMz66LXSBUBhn8F6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"e882220e93363fc56ef4a99e5474aa819a37e366","engines":{"node":">= 0.10.0"},"gitHead":"ac7cf7279ccaf25cae6cfb5e62fa13a53671825f","scripts":{"test":"ember try:testall","build":"ember build","start":"ember server"},"_npmUser":{"name":"thoughtbot","email":"ralph@thoughtbot.com"},"repository":{"url":"git+https://github.com/thoughtbot/ralphs-little-helpers.git","type":"git"},"_npmVersion":"2.14.6","description":"thoughtbot's Ember Test Helpers","directories":{"doc":"doc","test":"tests"},"ember-addon":{"configPath":"tests/dummy/config"},"_nodeVersion":"4.1.2","dependencies":{"ember-cli-babel":"^5.0.0"},"devDependencies":{"ember-cli":"1.13.5","ember-try":"0.0.6","ember-data":"1.13.7","ember-cli-sri":"^1.0.1","ember-cli-qunit":"0.3.18","ember-cli-uglify":"^1.0.1","ember-cli-ic-ajax":"0.2.1","ember-cli-release":"0.2.3","broccoli-asset-rev":"^2.0.2","ember-cli-es5-shim":"0.1.1","ember-cli-htmlbars":"0.7.9","ember-cli-app-version":"0.4.0","ember-cli-dependency-checker":"^1.0.0","ember-cli-inject-live-reload":"^1.3.0","ember-disable-proxy-controllers":"^1.0.0","ember-export-application-global":"^1.0.3","ember-cli-content-security-policy":"0.4.0","ember-disable-prototype-extensions":"^1.0.0","ember-cli-htmlbars-inline-precompile":"^0.1.1"}},"0.0.5":{"name":"ralphs-little-helpers","version":"0.0.5","keywords":["ember-addon","test helpers","qunit matchers","thoughtbot"],"author":{"name":"Sean Doyle","email":"sean.p.doyle24@gmail.com"},"license":"MIT","_id":"ralphs-little-helpers@0.0.5","maintainers":[{"name":"thoughtbot","email":"ralph@thoughtbot.com"}],"homepage":"https://github.com/thoughtbot/ralphs-little-helpers#readme","bugs":{"url":"https://github.com/thoughtbot/ralphs-little-helpers/issues"},"dist":{"shasum":"de20672547d4cfd8e94a67222a6f74eb1ac8ea33","tarball":"https://registry.npmjs.org/ralphs-little-helpers/-/ralphs-little-helpers-0.0.5.tgz","integrity":"sha512-PPme3i6wGZ2mF228G+DtlMYDtNtjzGnQvIaZ9rX3Y8SZ6GtDDnP52whLAIAxTPufqH4jTUNPyZzrAC4cqIc/ww==","signatures":[{"sig":"MEYCIQDf8QyJo6z6zUKOlJ5uDG6bCr+60OQQv/fOl8ep7M9LLAIhAOfhshLFhEyGutlDgZmiVNFWTD7YVGbdQdW3CDyYB17d","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh231TCRA9TVsSAnZWagAA+o8P/ib0KiinyWsh6TRWSsCA\nVyUWdyIj3tWFtkztOV7ttHxXxmf72ngEtUS7gTziUZS2yJpXMatl+PmWBSPy\nUFTzU1fBDOMfa+t/fK8y7NaPHQeFy6ysfymWGjnJdTkpaoTV9ycAtJKzKIqB\nUutL64XdNFD1m96Pdv6xoroPRP3XKydc44Wa0apnu+mhnjA6R64tOdkq3VsR\nCYNc+brSJ2pOb9YUn+NEYaR8IfJ4V/JTniJHyb5nSe0kZjI8UpNOaDEmDPzI\n1ISR+m4Mh7S56Bfm15Lpm/o0yIlg7qraitTJyvTT24TEbL3xJT397WYMp+ii\nsUhgBCTOeYD4umGwWiUabYYEf+KnxCEucfPotuaGh9/kn+zuglpUBzT5X+8S\nkhHNQrM+Yzwq48x46txRNYHrdlw0fSwU7VUnIdwup64T97uZdVB9n/0dL+SR\ncZmbg8q86hQNlgJpy1eiIVohJQbRTLWnH8KxhKmuE0pA5+u0vL2CRTkzWw8d\nGcBrQa7AszpmzXDNkTezSwm4ruFoxVmtbCUeIOg5Hk7MjIUZlOEMIU4Skfcl\nNxWeyOcKrQSEUcmYH2+yZK+PD1M4FB1PDsLio3BBKYkvebT9G8fPrRSj2Fh4\nmncI9n2f8iOsjsrVYQBNkvWyKwf0X3T6XfMEtV+lkzT34M8S1D45WPVBR6b/\ncRgz\r\n=IGPc\r\n-----END PGP SIGNATURE-----\r\n"},"_from":".","_shasum":"de20672547d4cfd8e94a67222a6f74eb1ac8ea33","engines":{"node":">= 0.10.0"},"gitHead":"1142562e7b3ea101fcc30ad846e43844b7845011","scripts":{"test":"ember try:testall","build":"ember build","start":"ember server"},"_npmUser":{"name":"thoughtbot","email":"ralph@thoughtbot.com"},"repository":{"url":"git+https://github.com/thoughtbot/ralphs-little-helpers.git","type":"git"},"_npmVersion":"2.14.6","description":"thoughtbot's Ember Test Helpers","directories":{"doc":"doc","test":"tests"},"ember-addon":{"configPath":"tests/dummy/config"},"_nodeVersion":"4.1.2","dependencies":{"ember-cli-babel":"^5.0.0"},"devDependencies":{"ember-cli":"1.13.5","ember-try":"0.0.6","ember-data":"1.13.7","ember-cli-sri":"^1.0.1","ember-cli-qunit":"0.3.18","ember-cli-uglify":"^1.0.1","ember-cli-ic-ajax":"0.2.1","ember-cli-release":"0.2.3","broccoli-asset-rev":"^2.0.2","ember-cli-es5-shim":"0.1.1","ember-cli-htmlbars":"0.7.9","ember-cli-app-version":"0.4.0","ember-cli-dependency-checker":"^1.0.0","ember-cli-inject-live-reload":"^1.3.0","ember-disable-proxy-controllers":"^1.0.0","ember-export-application-global":"^1.0.3","ember-cli-content-security-policy":"0.4.0","ember-disable-prototype-extensions":"^1.0.0","ember-cli-htmlbars-inline-precompile":"^0.1.1"}}},"time":{"created":"2015-10-27T19:05:28.010Z","modified":"2026-06-26T11:53:57.257Z","0.0.3":"2015-10-27T19:05:28.010Z","0.0.4":"2015-11-03T03:02:54.549Z","0.0.5":"2015-11-05T13:21:56.823Z"},"bugs":{"url":"https://github.com/thoughtbot/ralphs-little-helpers/issues"},"author":{"name":"Sean Doyle","email":"sean.p.doyle24@gmail.com"},"license":"MIT","homepage":"https://github.com/thoughtbot/ralphs-little-helpers#readme","keywords":["ember-addon","test helpers","qunit matchers","thoughtbot"],"repository":{"url":"git+https://github.com/thoughtbot/ralphs-little-helpers.git","type":"git"},"description":"thoughtbot's Ember Test Helpers","maintainers":[{"email":"services@thoughtbot.com","name":"ralphbot"},{"email":"vendela@thoughtbot.com","name":"vendela"},{"email":"luke@thoughtbot.com","name":"luke_mitchell"},{"email":"elaina.natario@gmail.com","name":"enatario"},{"email":"malcolmtomisin@gmail.com","name":"malcolmtomisin"},{"email":"nick@nickcharlton.net","name":"nickcharlton"},{"email":"daveiverson@thoughtbot.com","name":"daveiverson-thoughtbot"},{"email":"sean.p.doyle24@gmail.com","name":"seanpdoyle"}],"readme":"# ralphs-little-helpers\n\nThis README outlines the details of collaborating on this Ember addon.\n\n## Usage\n\nFirst, install the addon:\n\n    $ ember install ralphs-little-helpers\n\nThen, import the helpers you need:\n\n```js\n// tests/helpers/start-app.js\n\nimport './ralphs-little-helpers/test-helpers';\n// ...\n```\n\n```js\n// tests/acceptance/your-test.js\nimport { clickOn, findRole } from 'ralphs-little-helpers';\n\ntest('it works', assert => {\n  clickOn('Foo!');\n\n  andThen(() => {\n    assert.notInclude(findRole('foo').text(), 'bar', 'foo is not bar');\n  });\n});\n```\n\nTo use the matchers, import them in your test helper:\n\n```js\n// tests/test-helper.js\nimport 'ralphs-little-helpers/extend-qunit';\n```\n\n## Helpers\n\n**Imported**\n\n* `clickOn(text)` - Clicks on elements containing the text\n* `clickRole(role)` - Clicks on elements with a matching `[data-role]`\n* `findRole(role)` - Finds (with assert) an element with matching `[data-role]`\n* `fillInField(name, value)` - Fills in a field with a `[name]` with the given\n  value\n\n**Global**\n\n* `check(selector, context)` - Ensure an `input[type=\"checkbox\"]` is checked\n* `uncheck(selector, context)` - Ensure an `input[type=\"checkbox\"]` is unchecked\n* [`within(scope, block)`][within] - Scopes subsequent calls to test helpers by\n  the provided selector.\n\n[within]: tests/acceptance/app-uses-helpers-test.js\n\n## QUnit Matchers\n\n* `assert.include(needle, haystack)` - Asserts that the `needle` string is\n  included in the `haystack` string\n* `assert.notInclude(needle, haystack)` - Asserts that the `needle` string is\n  included in the `haystack` string\n* `assert.textEqual(expected, actual)` - Asserts that the `expected` string or\n  node's text equals the `actual` string\n* `assert.hasClass(expected, actual)` - Asserts that the `expected` node or\n  selector has the `actual` class\n* `assert.checked(expected, message)` - Asserts that the `expected` node or\n  selector is `:checked`\n* `assert.unchecked(expected, message)` - Asserts that the `expected` node or\n  selector is not `:checked`\n\n## Installation\n\n* `git clone` this repository\n* `npm install`\n* `bower install`\n\n## Running\n\n* `ember server`\n* Visit your app at http://localhost:4200.\n\n## Running Tests\n\n* `ember test`\n* `ember test --server`\n\n## Building\n\n* `ember build`\n\nFor more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).\n\n## Contributing\n\nSee the [CONTRIBUTING] document.\nThank you, [contributors]!\n\n  [CONTRIBUTING]: CONTRIBUTING.md\n  [contributors]: https://github.com/thoughtbot/ralphs-little-helpers/graphs/contributors\n\n## License\n\nralphs-little-helpers is Copyright (c) 2015 thoughtbot, inc.\nIt is free software, and may be redistributed\nunder the terms specified in the [LICENSE] file.\n\n  [LICENSE]: /LICENSE.md\n\n## About\n\nralphs-little-helpers is maintained by [Sean Doyle][seanpdoyle].\n\n![thoughtbot](https://thoughtbot.com/logo.png)\n\n  [seanpdoyle]: https://github.com/seanpdoyle\n\nralphs-little-helpers is maintained and funded by thoughtbot, inc.\nThe names and logos for thoughtbot are trademarks of thoughtbot, inc.\n\nWe love open source software!\nSee [our other projects][community]\nor [hire us][hire] to help build your product.\n\n  [community]: https://thoughtbot.com/community?utm_source=github\n  [hire]: https://thoughtbot.com/hire-us?utm_source=github\n","readmeFilename":"README.md"}