1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
# encoding: utf-8
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
require 'data_objects/spec/shared/typecast/nil_spec'
# splitting the descibe into two separate declaration avoids
# concurrent execution of the "it_should_behave_like ....." calls
# which would lock the database
describe 'DataObjects::Sqlite3 with Nil' do
it_should_behave_like 'supporting Nil'
end
describe 'DataObjects::Sqlite3 with Nil' do
it_should_behave_like 'supporting writing an Nil'
end
describe 'DataObjects::Sqlite3 with Nil' do
it_should_behave_like 'supporting Nil autocasting'
end
|