spec/gdk/services/registry_spec.rb (10 lines of code) (raw):

# frozen_string_literal: true RSpec.describe GDK::Services::Registry do describe '#name' do it { expect(subject.name).to eq('registry') } end describe '#command' do it 'returns the correct command' do expect(subject.command).to eq('support/exec-cd container-registry bin/registry serve /home/git/gdk/registry/config.yml') end end end