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

Version Path
deimos-ruby-1.12.1 spec/rake_spec.rb
deimos-ruby-1.12.0 spec/rake_spec.rb
deimos-temp-fork-0.0.7 spec/rake_spec.rb
deimos-ruby-1.11.2 spec/rake_spec.rb
deimos-ruby-1.11.1 spec/rake_spec.rb
deimos-ruby-1.11.0 spec/rake_spec.rb
deimos-temp-fork-0.0.6 spec/rake_spec.rb
deimos-temp-fork-0.0.5 spec/rake_spec.rb
deimos-temp-fork-0.0.4 spec/rake_spec.rb
deimos-temp-fork-0.0.3 spec/rake_spec.rb
deimos-temp-fork-0.0.2 spec/rake_spec.rb
deimos-temp-fork-0.0.1 spec/rake_spec.rb
deimos-ruby-1.10.2 spec/rake_spec.rb
deimos-ruby-1.10.1 spec/rake_spec.rb
deimos-ruby-1.10.0 spec/rake_spec.rb
deimos-ruby-1.9.2 spec/rake_spec.rb
deimos-ruby-1.9.1 spec/rake_spec.rb
deimos-ruby-1.9.0 spec/rake_spec.rb
deimos-ruby-1.8.7 spec/rake_spec.rb
deimos-ruby-1.8.6 spec/rake_spec.rb