Skip to content

Commit

Permalink
Fix bad utils path and test
Browse files Browse the repository at this point in the history
  • Loading branch information
mixonic committed Aug 5, 2015
1 parent a4b5501 commit 3305634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/cards/image.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
createElement
} from "./utils";
} from "../utils";

const ImageCard = {
name: 'image',
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/dom-renderer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ test('renders a mobiledoc with default image section', (assert) => {
assert.expect(3);
let cardName = 'image';
let payload = {
src: 'example.org/foo.jpg'
src: 'http://example.org/foo.jpg'
};
let mobiledoc = {
version: MOBILEDOC_VERSION,
Expand All @@ -197,5 +197,5 @@ test('renders a mobiledoc with default image section', (assert) => {
let sectionEl = rendered.childNodes[0];

assert.equal(sectionEl.firstChild.tagName, 'IMG');
assert.equal(sectionEl.firstChild.src, 'example.org/foo.jpg');
assert.equal(sectionEl.firstChild.src, 'http://example.org/foo.jpg');
});

0 comments on commit 3305634

Please sign in to comment.