lib/rspec-api/accept_helper.rb in rspec-api-0.0.2 vs lib/rspec-api/accept_helper.rb in rspec-api-0.0.3
- old
+ new
@@ -1,4 +1,6 @@
+# encoding: UTF-8
+
def accepts(options = {}, &block)
parameters = block_given? ? options.merge(block: block) : options
(metadata[:query_parameters] ||= []).push parameters
end
\ No newline at end of file