Sha256: 2e861e427b873ac16c2618674f36b8fe450642bfc49c6965f8a035d1c6383602

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

require "helper"

include VimGolf

describe VimGolf::Keylog do

  Dir['spec/fixtures/*'].each do |f|
    it "should parse #{f} logfile" do
      lambda { Keylog.new(IO.read(f)).convert }.should_not raise_error
    end

    it "should score #{f} logfile" do
      lambda { Keylog.new(IO.read(f)).convert }.should_not raise_error
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vimgolf-0.4.8 spec/keylog_spec.rb
vimgolf-0.4.7 spec/keylog_spec.rb
vimgolf-0.4.6 spec/keylog_spec.rb
vimgolf-0.4.5 spec/keylog_spec.rb
vimgolf-0.4.4 spec/keylog_spec.rb
vimgolf-0.4.3 spec/keylog_spec.rb
vimgolf-0.4.2 spec/keylog_spec.rb
vimgolf-0.4.1 spec/keylog_spec.rb
vimgolf-0.4.0 spec/keylog_spec.rb