Sha256: e50c74c6a8eee748aa7a05c7e99721da68a9547235bec70b0cfd0d8c200a06fe
Contents?: true
Size: 457 Bytes
Versions: 2
Compression:
Stored size: 457 Bytes
Contents
require 'spec_helper' require 'ronin/sql/unary_expr' shared_examples_for "UnaryExpr" do |method,operator=method| describe "##{method}" do let(:expr) { subject.send(method) } it "should be a UnaryExpr" do expr.should be_kind_of(SQL::UnaryExpr) end it "should set the operand" do expr.operand.should == subject end it "should have a '#{operator}' operator" do expr.operator.should == operator end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ronin-sql-1.1.0 | spec/sql/unary_expr_examples.rb |
ronin-sql-1.0.0 | spec/sql/unary_expr_examples.rb |