Sha256: def02a5a4ae1b977babcf4a3e21ad6c8d95d2569dd41a5a74dabbbebfec742d2
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
=begin #Fatture in Cloud API v2 - Filter Helper =end require 'spec_helper' describe FattureInCloud_Ruby_Sdk::Operator do describe 'test enum "EQ"' do it 'should work' do expect(FattureInCloud_Ruby_Sdk::Operator::EQ).to eq('=') expect(FattureInCloud_Ruby_Sdk::Operator::GT).to eq('>') expect(FattureInCloud_Ruby_Sdk::Operator::GTE).to eq('>=') expect(FattureInCloud_Ruby_Sdk::Operator::LT).to eq('<') expect(FattureInCloud_Ruby_Sdk::Operator::LTE).to eq('<=') expect(FattureInCloud_Ruby_Sdk::Operator::NEQ).to eq('<>') expect(FattureInCloud_Ruby_Sdk::Operator::IS).to eq('is') expect(FattureInCloud_Ruby_Sdk::Operator::IS_NOT).to eq('is not') expect(FattureInCloud_Ruby_Sdk::Operator::LIKE).to eq('like') expect(FattureInCloud_Ruby_Sdk::Operator::CONTAINS).to eq('contains') expect(FattureInCloud_Ruby_Sdk::Operator::NOT_LIKE).to eq('not like') expect(FattureInCloud_Ruby_Sdk::Operator::NOT_CONTAINS).to eq('not contains') expect(FattureInCloud_Ruby_Sdk::Operator::STARTS_WITH).to eq('starts with') expect(FattureInCloud_Ruby_Sdk::Operator::ENDS_WITH).to eq('ends with') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fattureincloud_ruby_sdk-2.1.1 | spec/filter/operator_spec.rb |
fattureincloud_ruby_sdk-2.1.0 | spec/filter/operator_spec.rb |