Sha256: 8bd69010c409c0d51d61919c97f766495007656a08e6644511537f302ab140f3
Contents?: true
Size: 629 Bytes
Versions: 2
Compression:
Stored size: 629 Bytes
Contents
require "spec_helper" unless RUBY_PLATFORM == 'java' describe Baza::Driver::ActiveRecord do let(:constant) { name = described_class.name.split("::").last 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) } 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 indexes driver" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
baza-0.0.19 | spec/drivers/active_record_mysql2_spec.rb |
baza-0.0.18 | spec/drivers/active_record_mysql2_spec.rb |