aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authoryalab <rudeboyjet@gmail.com>2017-08-04 18:58:16 +0900
committeryalab <rudeboyjet@gmail.com>2017-08-12 18:35:32 +0900
commitdaad0736f30b7c665aa733512eac8d32873841db (patch)
treeb91cc40274e9dded26fe237a94357e94fd7bcaac /activerecord/test/fixtures
parent050bbb1f3329bd4fe7740e7feb572e95c246d49e (diff)
downloadrails-daad0736f30b7c665aa733512eac8d32873841db.tar.gz
rails-daad0736f30b7c665aa733512eac8d32873841db.tar.bz2
rails-daad0736f30b7c665aa733512eac8d32873841db.zip
Add `binary` helper method to fixtures.
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/binaries.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/binaries.yml b/activerecord/test/fixtures/binaries.yml
index ec8f2facdc..53b7883369 100644
--- a/activerecord/test/fixtures/binaries.yml
+++ b/activerecord/test/fixtures/binaries.yml
@@ -131,3 +131,7 @@ flowers:
SgCUASgCUASgCUASgAC74PbXOTvE5/En7jpSoLE8/wBn7uPJjKyj46T9D/NT
pKsXyQzxNpdNP0/akB5484WkMKh4RfXG4UafNmH7b0UxWMrb7Nxg6rl9Z/Im
w+vWq0iscQwxQroiUIvkKsRZQBKAJQBKAJQB/9k=
+
+binary_helper:
+ id: 2
+ data: <%= binary(ASSETS_ROOT + "/flowers.jpg") %>