dist/ember-testing.js in ember-source-1.11.0.beta.1 vs dist/ember-testing.js in ember-source-1.11.0.beta.2
- old
+ new
@@ -3,11 +3,11 @@
* @copyright Copyright 2011-2015 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
- * @version 1.11.0-beta.1
+ * @version 1.11.0-beta.2
*/
(function() {
var enifed, requireModule, eriuqer, requirejs, Ember;
var mainContext = this;
@@ -295,14 +295,11 @@
if (!Ember['default'].testing) {
// Complain if they're using FEATURE flags in builds other than canary
Ember['default'].FEATURES['features-stripped-test'] = true;
var featuresWereStripped = true;
- if (Ember['default'].FEATURES.isEnabled('features-stripped-test')) {
- featuresWereStripped = false;
- }
-
+
delete Ember['default'].FEATURES['features-stripped-test'];
_warnIfUsingStrippedFeatureFlags(Ember['default'].ENV.FEATURES, featuresWereStripped);
// Inform the developer about the Ember Inspector if not installed.
var isFirefox = typeof InstallTrigger !== 'undefined';
@@ -701,47 +698,10 @@
* @param {String} selector jQuery selector for finding element on the DOM
* @return {RSVP.Promise}
*/
asyncHelper('click', click);
- if (Ember['default'].FEATURES.isEnabled('ember-testing-checkbox-helpers')) {
/**
- * Checks a checkbox. Ensures the presence of the `checked` attribute
- *
- * Example:
- *
- * ```javascript
- * check('#remember-me').then(function() {
- * // assert something
- * });
- * ```
- *
- * @method check
- * @param {String} selector jQuery selector finding an `input[type="checkbox"]`
- * element on the DOM to check
- * @return {RSVP.Promise}
- */
- asyncHelper('check', check);
-
- /**
- * Unchecks a checkbox. Ensures the absence of the `checked` attribute
- *
- * Example:
- *
- * ```javascript
- * uncheck('#remember-me').then(function() {
- * // assert something
- * });
- * ```
- *
- * @method check
- * @param {String} selector jQuery selector finding an `input[type="checkbox"]`
- * element on the DOM to uncheck
- * @return {RSVP.Promise}
- */
- asyncHelper('uncheck', uncheck);
- }
- /**
* Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode
*
* Example:
*
* ```javascript
\ No newline at end of file