File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 323
323
describe 'default scope' do
324
324
let! ( :python_project ) { create ( :project , project_type : Project ::Types ::PYTHON ) }
325
325
let! ( :html_project ) { create ( :project , project_type : Project ::Types ::HTML ) }
326
+ let! ( :scratch_project ) { create ( :project , project_type : Project ::Types ::SCRATCH ) }
326
327
let! ( :project_with_unknown_type ) { create ( :project , project_type : 'unknown' ) }
327
328
328
329
it 'includes python projects' do
333
334
expect ( described_class . all ) . to include ( html_project )
334
335
end
335
336
337
+ it 'includes scratch projects' do
338
+ expect ( described_class . all ) . to include ( scratch_project )
339
+ end
340
+
336
341
it 'includes projects with unknown type' do
337
342
expect ( described_class . all ) . to include ( project_with_unknown_type )
338
343
end
You can’t perform that action at this time.
0 commit comments