Sha256: 9d2fc096dce9eeb93efb7cefbf1f74903112cbb96259b95ac29048c4c240db95

Contents?: true

Size: 593 Bytes

Versions: 2

Compression:

Stored size: 593 Bytes

Contents

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

# splitting the descibe into two separate declaration avoids
# concurrent execution of the "it_behaves_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_behaves_like 'a Result'
end

describe DataObjects::Sqlite3::Result do
  it_behaves_like 'a Result which returns inserted key with sequences'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sbf-do_sqlite3-0.11.0 spec/result_spec.rb
sbf-do_sqlite3-0.10.17 spec/result_spec.rb