Skip to content

Commit

Permalink
Move models to separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
suda committed Feb 10, 2017
1 parent 663359c commit 2ea7ff4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Particle from './Particle';
import Library from './Library';
import Library from './models/Library';

export default class Client {
constructor({ auth, api = new Particle() }) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/Client.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {expect, sinon} from './test-setup';

import Client from '../src/Client';
import * as fixtures from './fixtures';
import Library from '../src/Library';
import Library from '../src/models/Library';

let api;
const token = 'tok';
Expand Down
2 changes: 1 addition & 1 deletion test/Library.spec.js → test/models/Library.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {expect} from './test-setup';
import Library from '../src/Library';
import Library from '../../src/models/Library';

let client = {};
describe('Library', () => {
Expand Down

0 comments on commit 2ea7ff4

Please sign in to comment.