aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit_tests/test_helper.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/test_helper.coffee')
-rw-r--r--tests/unit_tests/test_helper.coffee5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit_tests/test_helper.coffee b/tests/unit_tests/test_helper.coffee
new file mode 100644
index 00000000..bb73bf54
--- /dev/null
+++ b/tests/unit_tests/test_helper.coffee
@@ -0,0 +1,5 @@
+require("../shoulda.js/shoulda.js")
+global.extend = (hash1, hash2) ->
+ for key of hash2
+ hash1[key] = hash2[key]
+ hash1