test/test_helper.rb in crp-0.0.1 vs test/test_helper.rb in crp-0.0.2
- old
+ new
@@ -8,9 +8,13 @@
def valid_review_body
@valid_review_body ||= File.read(File.join(FIXTURES_PATH, 'valid_review.json'))
end
+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 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