Sha256: 881f62bd7d07bf0e49bbb444a370db3ad80bf3a314ea6823b5f9c3dead284327

Contents?: true

Size: 609 Bytes

Versions: 4

Compression:

Stored size: 609 Bytes

Contents

# encoding: utf-8

require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
require 'data_objects/spec/result_spec'

# splitting the descibe into two separate declaration avoids
# concurrent execution of the "it_should_behave_like ....." calls
# which would lock the database

# TODO
# the locked database created a deadlock which is worth exploring since
# such situation could appear in the wild too
describe DataObjects::Sqlite3::Result do
  it_should_behave_like 'a Result'
end

describe DataObjects::Sqlite3::Result do
  it_should_behave_like 'a Result which returns inserted keys'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
do_sqlite3-0.10.0-x86-mswin32-60 spec/result_spec.rb
do_sqlite3-0.10.0-x86-mingw32 spec/result_spec.rb
do_sqlite3-0.10.0 spec/result_spec.rb
do_sqlite3-0.10.0-java spec/result_spec.rb