Skip to content

Conversation

scottgonzalez
Copy link
Member

Everything is thrown together right now, but I wanted to get some discussion about the tests. Is this good enough or are there more/different things that should be tested?

Note: This is built on top of gh-1554.

},

teardown: function() {
if ( $.ui ) {
Copy link
Member

Choose a reason for hiding this comment

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

Is this if actually needed? Looks like $.ui these will always be defined.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it's always defined. I had copied this from the widget tests, where it may not exist yet.

@jzaefferer
Copy link
Member

This looks good to me. I considered checking that the data actually references the right instances, but the $.ui.testWidget.refreshed assertion implies that already. Can't think of anything else to test.

@scottgonzalez
Copy link
Member Author

Ok, I'll remove that one conditional in the tests and land this and gh-1554.

@scottgonzalez scottgonzalez deleted the selectmenu-reset branch May 15, 2015 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants