Skip to content

Commit

Permalink
Merge remote-tracking branch 'antranig/FLUID-6092'
Browse files Browse the repository at this point in the history
* antranig/FLUID-6092:
  FLUID-6092: Renamed "elements" to "sequenceElements" in IoC Testing Framework
  • Loading branch information
jobara committed Dec 6, 2016
2 parents 945866a + 354a685 commit 85a1ffe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test-core/testTests/js/IoCTestingTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ fluid.tests.elementPriority.checkSequence = function (record) {

fluid.defaults("fluid.tests.elementPrioritySequence", {
gradeNames: "fluid.test.sequence",
elements: {
sequenceElements: {
check: {
gradeNames: "fluid.tests.elementPriority.check",
options: {
Expand Down Expand Up @@ -566,7 +566,7 @@ fluid.defaults("fluid.tests.elementPriority", {
pushRecord: "fluid.tests.elementPriority.pushRecord({testCaseHolder}.record, {arguments}.0)"
},
modules: [{
name: "Priority-driven grade budding",
name: "FLUID-5903: Priority-driven grade budding",
tests: [{
expect: 1,
name: "Simple sequence of 4 active elements",
Expand Down
2 changes: 1 addition & 1 deletion tests/test-core/utils/js/IoCTestUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ var fluid_2_0_0 = fluid_2_0_0 || {};
var sequenceComponent = fluid.construct(seqPath, {type: fixture.sequenceGrade});

fluid.test.checkComponentGrade(sequenceComponent, fixture.sequenceGrade, "fluid.test.sequence", "sequenceGrade", fixture);
var elements = fluid.transform(sequenceComponent.options.elements, function (element, i) {
var elements = fluid.transform(sequenceComponent.options.sequenceElements, function (element, i) {
var elementPath = seqPath.concat(["sequenceElement-" + i]);
var constructOptions = fluid.extend({type: element.gradeNames}, element.options);
var elementComponent = fluid.construct(elementPath, constructOptions);
Expand Down

0 comments on commit 85a1ffe

Please sign in to comment.