Sha256: 3de59ff2d24c8fff0465ada01f90036b438e5e4aa37f6eb0873564e4562212b6

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 Bytes

Contents

require 'spec_helper'
require 'tmpdir'

describe WorkerScoreboard do
  context do
    let(:base_dir) { Dir.tmpdir }
    subject { WorkerScoreboard.new(base_dir) }
    it do
      subject.update('me manager')
      expect(subject.read_all.values.first).to eq 'me manager'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
worker_scoreboard-0.0.3 spec/worker_scoreboard_spec.rb
worker_scoreboard-0.0.2 spec/worker_scoreboard_spec.rb
worker_scoreboard-0.0.1 spec/worker_scoreboard_spec.rb