diff --git a/addon/components/input-credit-card-cvc.hbs b/addon/components/input-credit-card-cvc.hbs
index 2404d5f..421b5f7 100644
--- a/addon/components/input-credit-card-cvc.hbs
+++ b/addon/components/input-credit-card-cvc.hbs
@@ -1,5 +1,5 @@
`);
+
+ assert.dom('input').hasAttribute('type', 'password');
+ });
});
diff --git a/tests/integration/components/input-credit-card-number-test.js b/tests/integration/components/input-credit-card-number-test.js
index ad55514..df39e2f 100644
--- a/tests/integration/components/input-credit-card-number-test.js
+++ b/tests/integration/components/input-credit-card-number-test.js
@@ -43,4 +43,10 @@ module('Integration | Component | input-credit-card-number', function (hooks) {
await typeIn('input', '1');
assert.equal(this.number, '4111111111111111');
});
+
+ test('it can specify the input type', async function (assert) {
+ await render(hbs``);
+
+ assert.dom('input').hasAttribute('type', 'password');
+ });
});