@@ -7,19 +7,19 @@ import sinon from 'sinon';
7
7
8
8
import { triggerCopyError , triggerCopySuccess } from 'ember-cli-clipboard/test-support' ;
9
9
10
- module ( 'Integration | Component | x- copy-button' , function ( hooks ) {
10
+ module ( 'Integration | Component | copy-button' , function ( hooks ) {
11
11
setupRenderingTest ( hooks ) ;
12
12
13
13
test ( 'it shows the copy icon by default' , async function ( assert ) {
14
- await render ( hbs `{{x- copy-button class='copy-button'}}` ) ;
14
+ await render ( hbs `{{copy-button class='copy-button'}}` ) ;
15
15
16
16
assert . dom ( '.copy-button .icon-is-copy-action' ) . exists ( ) ;
17
17
} ) ;
18
18
19
19
test ( 'it shows the success icon on success and resets afterward' , async function ( assert ) {
20
20
const clock = sinon . useFakeTimers ( ) ;
21
21
22
- await render ( hbs `{{x- copy-button class='copy-button'}}` ) ;
22
+ await render ( hbs `{{copy-button class='copy-button'}}` ) ;
23
23
24
24
await click ( '.copy-button button' ) ;
25
25
await triggerCopySuccess ( '.copy-button button' ) ;
@@ -35,7 +35,7 @@ module('Integration | Component | x-copy-button', function(hooks) {
35
35
} ) ;
36
36
37
37
test ( 'it shows the error icon on error' , async function ( assert ) {
38
- await render ( hbs `{{x- copy-button class='copy-button'}}` ) ;
38
+ await render ( hbs `{{copy-button class='copy-button'}}` ) ;
39
39
40
40
await click ( '.copy-button button' ) ;
41
41
await triggerCopyError ( '.copy-button button' ) ;
0 commit comments