spec/spec_helper.rb in chef-api-0.4.0 vs spec/spec_helper.rb in chef-api-0.4.1
- old
+ new
@@ -21,5 +21,12 @@
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = 'random'
end
+
+#
+# @return [String]
+#
+def rspec_support_file(*joins)
+ File.join(File.expand_path('../support', __FILE__), *joins)
+end