Skip to content

Mark task complete with checkboxes#30

Open
hchood wants to merge 1 commit intomasterfrom
checkboxes-for-completing-tasks
Open

Mark task complete with checkboxes#30
hchood wants to merge 1 commit intomasterfrom
checkboxes-for-completing-tasks

Conversation

@hchood
Copy link
Owner

@hchood hchood commented Jan 29, 2015

To use a checkbox input instead of a button, I had to replace the saveTask action with an observer on the task's isCompleted property because I couldn’t get the checkbox to hit an action.

However, the observer fires uncontrollably. See issue #31 .

Also, I need to figure out how to change my test now, since it's failing. (Using Ember.Checkbox, there doesn’t
seem to be anything in the markup to differentiate checked from unchecked boxes. Should I check the completedAt property in the model? Seems wrong to do that in an integration test.)

Replaced saveTask action with an observer because I couldn’t get the
checkbox to hit an action. However, the observer fires uncontrollably.

Also, how should I modify my test?  Using Ember.Checkbox, there doesn’t
seem to be anything in the markup to differentiate checked from
unchecked boxes.  Should I check the completedAt property in the model?
Seems wrong to do that in an integration test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant