test/test_helper.rb in crp-0.0.6 vs test/test_helper.rb in crp-0.0.7
- old
+ new
@@ -12,9 +12,13 @@
def valid_review_body_with_integer_internal_id
@valid_review_body_with_integer_internal_id ||= File.read(File.join(FIXTURES_PATH, 'valid_review_with_integer_internal_id.json'))
end
+def error_review_body
+ @error_review_body ||= File.read(File.join(FIXTURES_PATH, 'error_review.json'))
+end
+
def valid_callback_review_body
@valid_callback_review_body ||= File.read(File.join(FIXTURES_PATH, 'valid_callback_review.txt')).chomp
end
def stub_new_review_request(new_review_url)