spec/toq/exceptions_spec.rb in toq-0.0.3 vs spec/toq/exceptions_spec.rb in toq-0.0.4
- old
+ new
@@ -48,20 +48,20 @@
subject { ::Exception.new.rpc_invalid_object_error? }
it { should be_false }
end
end
- describe '#rpc_invalid_method_error?' do
- context 'for invalid method RPC exceptions' do
- subject { described_class::InvalidMethod.new.rpc_invalid_method_error? }
- it { should be_true }
- end
-
- context 'for other exceptions' do
- subject { ::Exception.new.rpc_invalid_method_error? }
- it { should be_false }
- end
- end
+ # describe '#rpc_invalid_method_error?' do
+ # context 'for invalid method RPC exceptions' do
+ # subject { described_class::InvalidMethod.new.rpc_invalid_method_error? }
+ # it { should be_true }
+ # end
+ #
+ # context 'for other exceptions' do
+ # subject { ::Exception.new.rpc_invalid_method_error? }
+ # it { should be_false }
+ # end
+ # end
describe '#rpc_invalid_token_error?' do
context 'for RPC exceptions' do
subject { described_class::InvalidToken.new.rpc_invalid_token_error? }
it { should be_true }