Sha256: 5ba8352da665c44865e712b4877fc5276f40c962b64d3599f88a482bfb0c2257
Contents?: true
Size: 528 Bytes
Versions: 9
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true require 'rake' require 'rails' Rails.logger = Logger.new(STDOUT) load("#{__dir__}/../lib/tasks/deimos.rake") if Rake.application.lookup(:environment).nil? Rake::Task.define_task(:environment) end describe 'Rakefile' do # rubocop:disable RSpec/DescribeClass it 'should start listeners' do runner = instance_double(Phobos::CLI::Runner) expect(Phobos::CLI::Runner).to receive(:new).and_return(runner) expect(runner).to receive(:run!) Rake::Task['deimos:start'].invoke end end
Version data entries
9 entries across 9 versions & 1 rubygems