Sha256: 90a14ff4f19c2384987366dc3f88f12a1cf5310e3fc4214f0abbf8fea5ef365e
Contents?: true
Size: 758 Bytes
Versions: 2
Compression:
Stored size: 758 Bytes
Contents
require 'turntables/sql_modules/version_history_sql' include Turntables describe VersionHistorySql do it "should have a table name constant" do subject.const_get('TableName').should_not be_empty end it "should have a create sql constant" do subject.const_get('Create').should_not be_empty end it "should have a select last sql constant" do subject.const_get('SelectLast').should_not be_empty end it "should have a select by id sql constant" do subject.const_get('SelectById').should_not be_empty end it "should have a select all sql constant" do subject.const_get('SelectAll').should_not be_empty end it "should have an insert sql constant" do subject.const_get('Insert').should_not be_empty end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
turntables-1.0.3 | spec/version_history_sql_spec.rb |
turntables-1.0.1 | spec/version_history_sql_spec.rb |