Skip to content

Commit

Permalink
More Block: Adding a full featured unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jul 27, 2017
1 parent f9d9aed commit e7f04b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions blocks/test/fixtures/core__more.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"uid": "_uid_0",
"name": "core/more",
"isValid": true,
"attributes": {
"customText": null,
"noTeaser": false
Expand Down
2 changes: 1 addition & 1 deletion blocks/test/fixtures/core__more.serialized.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!--more-->
<!--more-->
1 change: 1 addition & 0 deletions blocks/test/fixtures/core__more__custom-text-teaser.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"uid": "_uid_0",
"name": "core/more",
"isValid": true,
"attributes": {
"customText": "Continue Reading",
"noTeaser": true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!--more-->
<!--noteaser-->
<!--noteaser-->

0 comments on commit e7f04b0

Please sign in to comment.