Sha256: d44b3e51d1c961dcf2ca0ddcb553740277b84c95daa60e401bb159b5f8ab088d
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
require 'spec_helper' require 'ronin/code/sql/operators' require 'sql/binary_expr_examples' require 'sql/unary_expr_examples' describe Ronin::Code::SQL::Operators do subject { Object.new.extend(described_class) } let(:operand) { 1 } include_examples "BinaryExpr", :* include_examples "BinaryExpr", :/ include_examples "BinaryExpr", :% include_examples "BinaryExpr", :+ include_examples "BinaryExpr", :- include_examples "BinaryExpr", :<< include_examples "BinaryExpr", :>> include_examples "BinaryExpr", :& include_examples "BinaryExpr", :| include_examples "BinaryExpr", :< include_examples "BinaryExpr", :<= include_examples "BinaryExpr", :> include_examples "BinaryExpr", :>= include_examples "BinaryExpr", :==, :"=" include_examples "BinaryExpr", :!= include_examples "BinaryExpr", :as, :AS include_examples "BinaryExpr", :is, :IS include_examples "BinaryExpr", :is_not, [:IS, :NOT] include_examples "BinaryExpr", :like, :LIKE include_examples "BinaryExpr", :glob, :GLOB include_examples "BinaryExpr", :match, :MATCH include_examples "BinaryExpr", :regexp, :REGEXP include_examples "BinaryExpr", :in, :IN include_examples "UnaryExpr", :-@, :- include_examples "UnaryExpr", :+@, :+ include_examples "UnaryExpr", :~ include_examples "UnaryExpr", :! include_examples "UnaryExpr", :not, :NOT include_examples "BinaryExpr", :and, :AND include_examples "BinaryExpr", :or, :OR end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-code-sql-2.0.0.beta1 | spec/sql/operators_spec.rb |