Sha256: f2157af9e200c09aa32748d4586dd7f71ae4feb14f1d18793deac761ca3dc166
Contents?: true
Size: 272 Bytes
Versions: 5
Compression:
Stored size: 272 Bytes
Contents
RSpec.describe TTY::Spinner, "#job" do it "adds and executes job" do spinner = TTY::Spinner.new("[:spinner] :title") called = [] work = proc { |sp| called << sp } spinner.job(&work) spinner.execute_job expect(called).to eq([spinner]) end end
Version data entries
5 entries across 5 versions & 1 rubygems