test/test_scheme.rb in swift-0.9.1 vs test/test_scheme.rb in swift-0.10.0

- old
+ new

@@ -55,9 +55,14 @@ describe 'adapter operations' do before do Swift.db.migrate! @user end + it 'should return scheme instance when given scheme in #execute' do + user = @user.create + assert_equal 1, Swift.db.execute(@user, 'select * from users').first.id + end + it 'adapter should destroy valid instance' do user = @user.create assert_equal 1, user.id assert Swift.db.destroy @user, user