Skip to content

Commit

Permalink
Catching a missing translation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Feb 6, 2024
1 parent cc6015d commit 5f4c99f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/locales/hyrax.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -584,11 +584,11 @@ en:
help_html: Select the file with media that represents this work.
legend_html: Representative Media
form_share:
access_options:
creator: Creator
depositor: Depositor
manager: Manager
viewer: Viewer
access_options:
creator: Creator
depositor: Depositor
manager: Manager
viewer: Viewer
access_type_to_grant: Access type to grant
account_label_without_suffix: "%{account_label} (without the %{suffix} part)"
add_sharing: Add Sharing
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copy file to docker-compose.override.yml to override docker-compose.yml
# Only use for local development
version: '3.8'
services:
# Uncomment to allow for the use of a ruby debugger (byebug, pry, etc) in Docker.
# See http://playbook-staging.notch8.com/en/devops/docker_debugger for more info.
app:
command: sh -l -c "bundle install && sleep infinity"
sidekiq:
command: sh -l -c "bundle install && sleep infinity"

17 changes: 17 additions & 0 deletions spec/goddess/custom_query_container_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Goddess::CustomQueryContainer do
let(:klass) do
Class.new do
include Goddess::CustomQueryContainer
def initialize(query_service:)
@query_service = query_service
end

attr_reader :query_service
end
end
let(:query_service) { double("Query Service", services: [service_one, service_two]) }
end

0 comments on commit 5f4c99f

Please sign in to comment.