Sha256: bf553e5483ff76a28da7f755568a1f673b8023092b946e82f93c8d1f70424d31
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
require 'spec_helper' describe SQLTree, 'for transaction statements' do it "should parse a BEGIN statement correctly" do SQLTree['BEGIN'].should be_kind_of(SQLTree::Node::BeginStatement) end it "should parse a COMMIT statement correctly" do SQLTree['COMMIT'].should be_kind_of(SQLTree::Node::CommitStatement) end it "should parse a ROLLBACK statement correctly" do SQLTree['ROLLBACK'].should be_kind_of(SQLTree::Node::RollbackStatement) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sql_tree-0.2.0 | spec/unit/control_statements_spec.rb |