This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set -x | |
function schemaPost { | |
# Use heredoc to strip out newlines, needed so that post is pure JSON | |
cat <<EOF | |
{ | |
"schemaType": "PROTOBUF", | |
"schema": "${escapedSchema}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
# tested using jruby 1.7.6, activerecord 3.2.21, db2 10.5, and activerecord-jdbc-adapter (1.2.9 vs 1.3.13) | |
# and rspec 2.13.0 | |
describe "add_limit_offset!" do | |
before do | |
CreateTablesForAddLimitOffsetTestMigration.migrate :up | |
end | |
after do |