Fixing explore actions & slice controller interactions (#1292)

* Fixing explore actions & slice controller interactions

* Addressing a comment
This commit is contained in:
Maxime Beauchemin
2016-10-07 14:06:26 -07:00
committed by GitHub
parent 382b8e85da
commit 3384e7598e
9 changed files with 150 additions and 120 deletions

View File

@@ -31,7 +31,13 @@ describe('EmbedCodeButton', () => {
width: '2000',
srcLink: 'http://localhost/endpoint_url',
});
const embedHTML = `<iframe src="http://localhost/endpoint_url" width="2000" height="1000" seamless frameBorder="0" scrolling="no"></iframe>`;
const embedHTML = `
<iframe
src="nullendpoint_url"
width="2000"
height="1000"
seamless frameBorder="0" scrolling="no">
</iframe>`;
expect(wrapper.instance().generateEmbedHTML()).to.equal(embedHTML);
});
});