aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts')
-rw-r--r--src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts b/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
index 508ca8c..16d7029 100644
--- a/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
+++ b/src/app/vnfs/build-artifacts/build-artifacts.component.spec.ts
@@ -17,7 +17,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-ECOMP is a trademark and service mark of AT&T Intellectual Property.
============LICENSE_END============================================
*/
@@ -94,4 +93,12 @@ describe('BuildDesignComponent', () => {
it('should create', () => {
expect(component).toBeTruthy();
});
+
+ it('Should validate getRefData method', () => {
+ let refData = {"action": "Configure", "vnf-type": "test 1", "device-protocol": "ANSIBLE"};
+ component.refDataRequiredFiels = false;
+ component.getRefData(refData);
+ expect(component.refDataRequiredFiels).toBeTruthy();
+ });
+
});