Skip to content

Commit

Permalink
Koenig - Fix broken image card tests
Browse files Browse the repository at this point in the history
refs TryGhost/Ghost#9505
- update tests to match loose BEM image style classes
  • Loading branch information
kevinansfield committed May 22, 2018
1 parent 0131a9c commit 78041fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kg-default-cards/test/cards/image_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('Image card', function () {
}
};

serializer.serialize(card.render(opts)).should.eql('<figure class="kg-image-card"><img src="https://www.ghost.org/image.png" class="kg-image kg-image--wide"></figure>');
serializer.serialize(card.render(opts)).should.eql('<figure class="kg-image-card"><img src="https://www.ghost.org/image.png" class="kg-image kg-image-wide"></figure>');
});

it('full', function () {
Expand All @@ -73,7 +73,7 @@ describe('Image card', function () {
}
};

serializer.serialize(card.render(opts)).should.eql('<figure class="kg-image-card"><img src="https://www.ghost.org/image.png" class="kg-image kg-image--full"></figure>');
serializer.serialize(card.render(opts)).should.eql('<figure class="kg-image-card"><img src="https://www.ghost.org/image.png" class="kg-image kg-image-full"></figure>');
});
});
});

0 comments on commit 78041fb

Please sign in to comment.