Sha256: 4e38cbe3315fed8db310bc7bf2c4ef93080e77c456c014fba5ca0654b7314f1a
Contents?: true
Size: 825 Bytes
Versions: 14
Compression:
Stored size: 825 Bytes
Contents
unless RUBY_PLATFORM == "java" require "spec_helper" Baza.load_driver("active_record") describe Baza::Driver::ActiveRecord do let(:constant) do const_name = "InfoActiveRecordMysql2" require "#{File.dirname(__FILE__)}/../#{StringCases.camel_to_snake(const_name)}" raise "Constant was not defined: '#{const_name}'." unless Baza.const_defined?(const_name) Baza.const_get(const_name) end it_behaves_like "a baza driver" it_should_behave_like "a baza tables driver" it_should_behave_like "a baza columns driver" it_should_behave_like "a baza foreign keys driver" it_should_behave_like "a baza indexes driver" it_should_behave_like "a baza users driver" it_should_behave_like "an active record driver" it_should_behave_like "a baza importer driver" end end
Version data entries
14 entries across 14 versions & 1 rubygems