Sha256: 877e3f2ff3bdf771651f195e4c3d9601de0405bde46c3d7e9702e1814ee1b17a
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
require "spec_helper" module Fonte module Parsers describe PlayerParser do let(:parser) { described_class.new } subject { parser.parse(player) } context "when the player is a default source player" do let(:player) { "Reu<2><STEAM_1:1:24968171><Red>" } it { should be } end context "when the player is a left4dead2 player" do let(:player) { "Pulo_ms<8><STEAM_1:1:41920953><Survivor><Producer><ALIVE><100+0><setpos_exact 3617.36 -1739.69 294.53; setang 0.00 179.84 0.00><Area 205>" } it { should be } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fonte-0.2.0 | spec/parsers/player_parser_spec.rb |