Skip to content

Commit

Permalink
Merge pull request #3886 from nebulab/kennyadsl/activestorage-specs
Browse files Browse the repository at this point in the history
Enable ActiveStorage specs against Rails 6.1
  • Loading branch information
kennyadsl authored Feb 15, 2021
2 parents 0d2c83d + 430e14b commit f6e84d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,17 @@ jobs:
postgres:
executor: postgres
parallelism: &parallelism 3
environment:
ENABLE_ACTIVE_STORAGE: true
steps:
- setup
- test

mysql:
executor: mysql
parallelism: *parallelism
environment:
ENABLE_ACTIVE_STORAGE: true
steps:
- setup
- test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<%= f.field_container attachment do %>
<%= f.label attachment %><br>
<%= f.file_field attachment %>
<% if f.object.send(attachment).present? %>
<% if f.object.send(:"#{attachment}_present?") %>
<%= image_tag f.object.send(attachment, definition[:default_style]) %>
<%= link_to t('spree.actions.remove'),
admin_taxonomy_taxon_attachment_path(@taxonomy,
Expand Down

0 comments on commit f6e84d9

Please sign in to comment.