describe "database schema" do
  it "is structured as expected" do
    ret = EvmDatabase.check_schema

    expect(ret).to be_nil, <<-EOS.gsub!(/^ +/, "")
      #{Rails.configuration.database_configuration[Rails.env]["database"]} is not structured as expected.

      #{ret}
    EOS
  end
end

Add replication spec to validate the schema structure
Add replication spec to validate the schema structure

This spec runs the EvmDatabase.check_schema method and
fails if it fails.

This will make sure that we are aware every time the schema
changes, including changes in rails that could affect the
way our schema is layed out.
