diff --git a/test/relations/HtmlJsx.js b/test/relations/HtmlJsx.js
index <HASH>..<HASH> 100644
--- a/test/relations/HtmlJsx.js
+++ b/test/relations/HtmlJsx.js
@@ -24,4 +24,24 @@ describe('relations/HtmlJsx', function () {
             })
             .run(done);
     });
+
+    it('should attach relations with the correct content type', function (done) {
+        new AssetGraph({root: __dirname + '/../../testdata/relations/HtmlJsx/'})
+            .loadAssets('index.html')
+            .populate()
+            .queue(function (assetGraph) {
+                var html = assetGraph.findAssets({ type: 'Html' })[0];
+                var target = assetGraph.findAssets({ fileName: 'external.jsx' })[0];
+                var relation = new AssetGraph.HtmlJsx({
+                    to: target
+                });
+
+                relation.attach(html, 'after', target.incomingRelations[0]);
+
+                expect(relation.from, 'to be', html);
+                expect(relation.node, 'not to be undefined');
+                expect(relation.node.getAttribute('type'), 'to be', target.contentType);
+            })
+            .run(done);
+    });
 });
Test attaching HtmlJsx relations