File: nil_spec.rb

package info (click to toggle)
ruby-dataobjects-sqlite3 0.10.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 332 kB
  • sloc: ansic: 991; ruby: 322; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (4)
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