Sha256: 04c93e299277992785cc66db22f21edc4c9bad8a3c3f1d993a92b215f7035dc1

Contents?: true

Size: 1022 Bytes

Versions: 14

Compression:

Stored size: 1022 Bytes

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::STARTS_WITH).to eq('starts with')
      expect(FattureInCloud_Ruby_Sdk::Operator::ENDS_WITH).to eq('ends with')
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fattureincloud_ruby_sdk-2.0.20 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.19 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.18 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.17 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.16 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.15 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.14 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.13 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.12 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.11 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.10 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.9 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.8 spec/filter/operator_spec.rb
fattureincloud_ruby_sdk-2.0.7 spec/filter/operator_spec.rb