Sha256: 4c2c6f9549ce24fb56b1a201b25e8da7f63accb21fe3da76fb1c6c81a6d66549

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

require 'keyboard'

require 'spec_helper'

describe Keyboard do
  describe ".wait_for_enter" do
    subject(:wait_for_enter) { klass.wait_for_enter }

    it "waits for enter" do
      $stdin.should_receive :gets

      wait_for_enter
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tp-0.0.2 spec/lib/keyboard_spec.rb