File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ module('Acceptance | gist', function(hooks) {
149149 assert . deepEqual ( columnFiles , [ jsFile , hbsFile ] , 'Added files are displayed' ) ;
150150 } ) ;
151151
152- test ( 'component without hyphen fails' , async function ( assert ) {
152+ test ( 'ember component without hyphen fails' , async function ( assert ) {
153153 assert . expect ( 2 ) ;
154154
155155 let called = false ;
@@ -159,7 +159,32 @@ module('Acceptance | gist', function(hooks) {
159159 } ;
160160 promptValue = "components/some-dir/mycomp" ;
161161
162- await visit ( '/' ) ;
162+ await runGist ( [
163+ {
164+ filename : 'application.template.hbs' ,
165+ content : 'hello world!'
166+ } ,
167+ {
168+ filename : 'twiddle.json' ,
169+ content : `{
170+ "version": "0.17.0",
171+ "EmberENV": {
172+ "FEATURES": {}
173+ },
174+ "options": {
175+ "use_pods": false,
176+ "enable-testing": false
177+ },
178+ "dependencies": {
179+ "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js",
180+ "ember": "3.12.1",
181+ "ember-template-compiler": "3.12.1",
182+ "ember-testing": "3.12.1"
183+ },
184+ "addons": {}
185+ }`
186+ }
187+ ] ) ;
163188 await click ( '.add-component-link' ) ;
164189 await click ( firstFilePicker ( ) ) ;
165190 assert . ok ( called , "alert was called" ) ;
You can’t perform that action at this time.
0 commit comments