diff --git a/test/associated-model.js b/test/associated-model.js
index <HASH>..<HASH> 100644
--- a/test/associated-model.js
+++ b/test/associated-model.js
@@ -1150,7 +1150,9 @@ $(document).ready(function () {
                 {
                     type:Backbone.One,
                     key:'type',
-                    relatedModel:FieldInputType,
+                    relatedModel:function () {
+                        return  FieldInputType;
+                    },
                     map:function (id) {
                         return store.findWhere({type:id});
                     }
Update a test case to use both map and function for `relatedModel`