Sha256: 1c6ec906bb1524de4d0f740ce718b242b6d195e31391e2a95906c88a4b780131
Contents?: true
Size: 307 Bytes
Versions: 12
Compression:
Stored size: 307 Bytes
Contents
require 'spec_helper' require 'spec/proto/test.pb' describe Protobuf::Enum do context 'when coercing from enum' do subject { Spec::Proto::StatusType::PENDING } it { should eq(0) } end context 'when coercing from integer' do it { 0.should eq(Spec::Proto::StatusType::PENDING) } end end
Version data entries
12 entries across 12 versions & 1 rubygems