Skip to content

Commit

Permalink
Corrigindo lint
Browse files Browse the repository at this point in the history
  • Loading branch information
angeliski committed Apr 19, 2018
1 parent a0d7dfc commit 9545d42
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
42 changes: 21 additions & 21 deletions test/api/event.integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ describe('Events', () => {
{
'_id': '200000000000000000000001',
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'price': 1.5,
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
Expand All @@ -27,7 +27,7 @@ describe('Events', () => {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand All @@ -53,8 +53,8 @@ describe('Events', () => {
{
'_id': '200000000000000000000001',
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'price': 1.5,
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
Expand All @@ -63,7 +63,7 @@ describe('Events', () => {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand Down Expand Up @@ -103,8 +103,8 @@ describe('Events', () => {
it('should persist the new event', (done) => {
const event = {
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'price': 1.5,
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
Expand All @@ -113,7 +113,7 @@ describe('Events', () => {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand All @@ -133,8 +133,8 @@ describe('Events', () => {
it('should persist the new event when not have admin token', (done) => {
const event = {
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'price': 1.5,
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
Expand All @@ -143,7 +143,7 @@ describe('Events', () => {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand All @@ -165,16 +165,16 @@ describe('Events', () => {
it('should return error when not have price', (done) => {
const event = {
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
'__v': 0,
'location': {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand All @@ -196,8 +196,8 @@ describe('Events', () => {
it('should update the event', (done) => {
const event = {
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'price': 1.5,
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
Expand All @@ -206,7 +206,7 @@ describe('Events', () => {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand All @@ -226,8 +226,8 @@ describe('Events', () => {
it('should return error on generic user update the event', (done) => {
const event = {
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
"status": "pending",
'shortDescription': 'Descrição marota',
'status': 'pending',
'link': 'https://braziljs.org/conf/',
'price': 1.5,
'image': 'https://braziljs.org/wp-content/themes/braziljs/assets/img/logos/braziljs-00508dcfc4.svg',
Expand All @@ -236,7 +236,7 @@ describe('Events', () => {
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
Expand Down
6 changes: 3 additions & 3 deletions test/fixtures/event-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports.events = [
{
'_id': createObjectId('200000000000000000000001'),
'title': 'BrazilJS - Fortaleza',
"shortDescription": "Descrição marota",
'shortDescription': 'Descrição marota',
'link': 'https://braziljs.org/conf/',
'status': 'pending',
'price': 1.5,
Expand All @@ -14,12 +14,12 @@ module.exports.events = [
'city': 'Fortaleza',
'state': 'CE',
'address': 'Faculdade Sete de Setembro',
"locationUrl": "https://www.google.com.br/maps"
'locationUrl': 'https://www.google.com.br/maps'
},
'date': {
'day': 1,
'month': 'Setembro',
'year': 2017
}
}
]
]

0 comments on commit 9545d42

Please sign in to comment.