-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |