spec/parsers/player_parser_spec.rb in fonte-0.0.1 vs spec/parsers/player_parser_spec.rb in fonte-0.1.0
- old
+ new
@@ -6,9 +6,11 @@
let(:parser) { described_class.new }
let(:player) { "Reu<2><STEAM_1:1:24968171><Red>" }
subject { parser.parse(player) }
+ its(:value) { should == "Reu<2><STEAM_1:1:24968171><Red>" }
+
its(:"nickname.value") { should == "Reu" }
its(:"uid.value") { should == 2 }
its(:"steam_id.value") { should == "STEAM_1:1:24968171" }
its(:"team.value") { should == "Red" }