aboutsummaryrefslogtreecommitdiffstats
path: root/src/ngScenario
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngScenario')
-rw-r--r--src/ngScenario/Describe.js2
-rw-r--r--src/ngScenario/Future.js6
-rw-r--r--src/ngScenario/ObjectModel.js6
-rw-r--r--src/ngScenario/SpecRunner.js2
4 files changed, 8 insertions, 8 deletions
diff --git a/src/ngScenario/Describe.js b/src/ngScenario/Describe.js
index 4d52e9d5..77e28a8b 100644
--- a/src/ngScenario/Describe.js
+++ b/src/ngScenario/Describe.js
@@ -94,7 +94,7 @@ angular.scenario.Describe.prototype.xdescribe = angular.noop;
* Defines a test.
*
* @param {string} name Name of the test.
- * @param {function()} vody Body of the block.
+ * @param {function()} body Body of the block.
*/
angular.scenario.Describe.prototype.it = function(name, body) {
this.its.push({
diff --git a/src/ngScenario/Future.js b/src/ngScenario/Future.js
index 335dd2bb..4161bef7 100644
--- a/src/ngScenario/Future.js
+++ b/src/ngScenario/Future.js
@@ -3,9 +3,9 @@
/**
* A future action in a spec.
*
- * @param {string} name of the future action
- * @param {function()} future callback(error, result)
- * @param {function()} Optional. function that returns the file/line number.
+ * @param {string} name name of the future action
+ * @param {function()} behavior future callback(error, result)
+ * @param {function()} line Optional. function that returns the file/line number.
*/
angular.scenario.Future = function(name, behavior, line) {
this.name = name;
diff --git a/src/ngScenario/ObjectModel.js b/src/ngScenario/ObjectModel.js
index 9c6ce56c..47ee936b 100644
--- a/src/ngScenario/ObjectModel.js
+++ b/src/ngScenario/ObjectModel.js
@@ -170,7 +170,7 @@ angular.scenario.ObjectModel.prototype.getDefinitionPath = function(spec) {
/**
* Gets a spec by id.
*
- * @param {string} The id of the spec to get the object for.
+ * @param {string} id The id of the spec to get the object for.
* @return {Object} the Spec instance
*/
angular.scenario.ObjectModel.prototype.getSpec = function(id) {
@@ -195,7 +195,7 @@ angular.scenario.ObjectModel.Spec = function(id, name, definitionNames) {
/**
* Adds a new step to the Spec.
*
- * @param {string} step Name of the step (really name of the future)
+ * @param {string} name Name of the step (really name of the future)
* @return {Object} the added step
*/
angular.scenario.ObjectModel.Spec.prototype.addStep = function(name) {
@@ -229,7 +229,7 @@ angular.scenario.ObjectModel.Spec.prototype.setStatusFromStep = function(step) {
/**
* A single step inside a Spec.
*
- * @param {string} step Name of the step
+ * @param {string} name Name of the step
*/
angular.scenario.ObjectModel.Step = function(name) {
this.name = name;
diff --git a/src/ngScenario/SpecRunner.js b/src/ngScenario/SpecRunner.js
index 23cc1dc7..d15912d9 100644
--- a/src/ngScenario/SpecRunner.js
+++ b/src/ngScenario/SpecRunner.js
@@ -18,7 +18,7 @@ angular.scenario.SpecRunner = function() {
* based on the describe nesting.
*
* @param {Object} spec A spec object
- * @param {function()} specDone function that is called when the spec finshes. Function(error, index)
+ * @param {function()} specDone function that is called when the spec finishes. Function(error, index)
*/
angular.scenario.SpecRunner.prototype.run = function(spec, specDone) {
var self = this;