Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Improve radio button test coverage to check group scenarios #1315

Conversation

swilliamset
Copy link
Contributor

No description provided.

test("should set initial state to checked for last item in group", function () {
var $element = $(html).find('#RadioGroup').clone();

$element.find('input').eq(2).prop('checked', 'checked');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this uses prop() instead of .checkbox('check')?

@interactivellama
Copy link
Contributor

This PR creates a test to prevent regression for #1283.

interactivellama added a commit that referenced this pull request May 29, 2015
…groups

improve radio button test coverage to check group scenarios
@interactivellama interactivellama merged commit 7559742 into ExactTarget:3.7.x May 29, 2015
@interactivellama interactivellama changed the title improve radio button test coverage to check group scenarios Improve radio button test coverage to check group scenarios Jun 11, 2015
@interactivellama interactivellama modified the milestones: 3.7.4, 3.8.0 Jun 12, 2015
@swilliamset swilliamset deleted the improve-radio-tests-around-groups branch October 28, 2016 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants