Skip to content

Commit

Permalink
Rename no_schema_specified files to not specify the schema in the fil…
Browse files Browse the repository at this point in the history
…ename
  • Loading branch information
jgreben committed May 23, 2019
1 parent 0ec4c34 commit deb1283
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/components/editor/ImportFileZone.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('<ImportFileZone />', () => {
let template, schemaUrl

it('gets the schemaUrl from the resource-template', () => {
template = require('../../__fixtures__/lcc_v0.0.3_no_schema_specified.json')
template = require('../../__fixtures__/lcc_no_schema_specified.json')
schemaUrl = wrapper.instance().schemaUrl(template)
expect(schemaUrl).toEqual(`https://ld4p.github.io/sinopia/schemas/${Config.defaultProfileSchemaVersion}/resource-template.json`)
})
Expand All @@ -70,7 +70,7 @@ describe('<ImportFileZone />', () => {
})

it('gets the schemaUrl from the profile', () => {
template = require('../../__fixtures__/place_profile_v0.0.3_no_schema_specified.json')
template = require('../../__fixtures__/place_profile_no_schema_specified.json')
schemaUrl = wrapper.instance().schemaUrl(template)
expect(schemaUrl).toEqual(`https://ld4p.github.io/sinopia/schemas/${Config.defaultProfileSchemaVersion}/profile.json`)
})
Expand Down

0 comments on commit deb1283

Please sign in to comment.