Sha256: ccc5550fd49a04001778e360d0c6b827179a604efb1a6e35f3dd39b1025fd8cb
Contents?: true
Size: 490 Bytes
Versions: 98
Compression:
Stored size: 490 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 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
98 entries across 98 versions & 2 rubygems