diff options
author | yalab <rudeboyjet@gmail.com> | 2017-08-04 18:58:16 +0900 |
---|---|---|
committer | yalab <rudeboyjet@gmail.com> | 2017-08-12 18:35:32 +0900 |
commit | daad0736f30b7c665aa733512eac8d32873841db (patch) | |
tree | b91cc40274e9dded26fe237a94357e94fd7bcaac /activerecord/test/fixtures | |
parent | 050bbb1f3329bd4fe7740e7feb572e95c246d49e (diff) | |
download | rails-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.yml | 4 |
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") %> |