Sha256: 4624540a0e5776c96b831a97230c6feba400b3cc054b195ec07071990d53902c

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

RSpec.describe TTY::Spinner, "#join" do
  let(:output) { StringIO.new("", "w+") }

  it "raises exception when not spinning" do
    spinner = TTY::Spinner.new(output: output)
    expect {
      spinner.join
    }.to raise_error(TTY::Spinner::NotSpinningError)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
planter-cli-3.0.7 lib/tty-spinner/spec/unit/join_spec.rb
planter-cli-3.0.5 lib/tty-spinner/spec/unit/join_spec.rb
planter-cli-3.0.4 lib/tty-spinner/spec/unit/join_spec.rb
planter-cli-3.0.3 lib/tty-spinner/spec/unit/join_spec.rb
planter-cli-3.0.2 lib/tty-spinner/spec/unit/join_spec.rb