-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the embed block to be a custom video embed that uses the desig…
…n system video embed template (#62) * Update the embed block to be a custom video embed that uses the design system video embed template * Translate help text, and extrapolate the embed url from the link url * Update tests * Tighten up the allowed urls and update the embed extraction and tests * override linting * Linting disable for block only * Move videoembed tests to their own class * Use setUp method in tests to improve performance * Extract getting the embed url to its own method * Update VideoEmbedBlock test names * Add tests for the embed_url in context * Capitalisation tweak * Speed up tests by using setUpTestData * Add the embed_url var to the object not directly to the context, to make the template vars more consistent
- Loading branch information
Showing
7 changed files
with
421 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.