about summary refs log tree commit diff
path: root/spec/helpers/api
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-05 17:46:36 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-05 17:46:36 +0200
commitae1fac006206ab28cd7cba63ab85c07a27f3d606 (patch)
tree61f9cd45d7ed804eab85ae6a28cee584af90bfe3 /spec/helpers/api
parent05001d54d15c486caa6cebe9462222d37d87576d (diff)
Add API to upload media attachments
Diffstat (limited to 'spec/helpers/api')
-rw-r--r--spec/helpers/api/media_helper_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/helpers/api/media_helper_spec.rb b/spec/helpers/api/media_helper_spec.rb
new file mode 100644
index 000000000..5813264ad
--- /dev/null
+++ b/spec/helpers/api/media_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'rails_helper'
+
+# Specs in this file have access to a helper object that includes
+# the Api::MediaHelper. For example:
+#
+# describe Api::MediaHelper do
+#   describe "string concat" do
+#     it "concats two strings with spaces" do
+#       expect(helper.concat_strings("this","that")).to eq("this that")
+#     end
+#   end
+# end
+RSpec.describe Api::MediaHelper, type: :helper do
+  pending "add some examples to (or delete) #{__FILE__}"
+end