Sha256: 8e5ce867a64c28cfd3624234e08feb531fdb296983c2fe43b2bcab6488ff6d5b

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

require 'rake'
require 'rake/tasklib'
require 'service_mock/server'
require 'service_mock/rake/base_task'

module ServiceMock
  module Rake
    class StopServerTask < ServiceMock::Rake::BaseTask

      def define_task
        desc 'Stop the WireMock Process'
        task name do
          server.stop
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
service_mock-0.1 lib/service_mock/rake/stop_server_task.rb