Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Introduce check and uncheck async helpers #9

Merged
merged 1 commit into from
Nov 3, 2015

Conversation

seanpdoyle
Copy link
Contributor

Promotes check and uncheck test helpers from emberjs/ember.js from
behind the ember-testing-checkbox-helpers feature flag.

Matches Capybara's #check and #uncheck helper methods.

Additionally introduces assert.checked and assert.unchecked QUnit
assertions.

@seanpdoyle seanpdoyle force-pushed the sd-checkbox-helpers branch 2 times, most recently from c2c62c0 to fe01b3b Compare November 1, 2015 21:54
seanpdoyle added a commit to seanpdoyle/ember.js that referenced this pull request Nov 2, 2015
The `ember-testing-checkbox-helpers` feature hasn't gained traction and
should be considered a failure as an Ember.js feature.

The helpers have been extracted into [thoughtbot/ralphs-little-helpers].

[thoughtbot/ralphs-little-helpers]: thoughtbot/ralphs-little-helpers#9
Promotes `check` and `uncheck` test helpers from [emberjs/ember.js] from
behind the [ember-testing-checkbox-helpers] feature flag.

Matches Capybara's [#check] and [#uncheck] helper methods.

Additionally introduces `assert.checked` and `assert.unchecked` QUnit
assertions.

[ember-testing-checkbox-helpers]: https://github.com/emberjs/ember.js/blob/860bb4be498466ac4c914adb1f139e5cd2fbc123/FEATURES.md#feature-flags
[emberjs/ember.js]: emberjs/ember.js#9798
[#check]: http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Actions#check-instance_method
[#uncheck]: http://www.rubydoc.info/github/jnicklas/capybara/master/Capybara/Node/Actions#uncheck-instance_method
@seanpdoyle seanpdoyle merged commit 6797f79 into master Nov 3, 2015
@seanpdoyle seanpdoyle deleted the sd-checkbox-helpers branch November 3, 2015 03:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant