Sha256: 6976e4bcbd38ab35e22ebf70c55830e950d6543cbb324af8274ef71f736a11a2
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' describe Protobuf::EnumValue do subject { Test::EnumTestType::ONE } its(:class) { should eq Fixnum } its(:parent_class) { should eq Test::EnumTestType } its(:name) { should eq :ONE } its(:value) { should eq 1 } its(:to_hash_value) { should eq 1 } its(:to_s) { should eq "1" } its(:inspect) { should eq '#<Protobuf::EnumValue Test::EnumTestType::ONE=1>' } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
protobuf-2.2.1 | spec/lib/protobuf/enum_value_spec.rb |
protobuf-2.2.0 | spec/lib/protobuf/enum_value_spec.rb |
protobuf-2.1.3 | spec/lib/protobuf/enum_value_spec.rb |