Skip to content

Commit

Permalink
Remove remaining exceptions for Rubinius
Browse files Browse the repository at this point in the history
Rbx compatibility has already been removed in pg-1.0.
  • Loading branch information
larskanis committed Nov 10, 2019
1 parent 450ee9d commit 3dd9997
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions spec/pg/connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,6 @@
end

it "can stop a thread that runs a blocking query with async_exec" do
pending "this does not work on Rubinius" if RUBY_ENGINE=='rbx'

start = Time.now
t = Thread.new do
@conn.async_exec( 'select pg_sleep(10)' )
Expand Down
2 changes: 0 additions & 2 deletions spec/pg/result_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
res = @conn.exec("SELECT 1 AS a, 2 AS b")
e = res.each_row
expect( e ).to be_a_kind_of(Enumerator)
pending "Rubinius doesn't define RETURN_SIZED_ENUMERATOR()" if RUBY_ENGINE=='rbx'
expect( e.size ).to eq( 1 )
expect( e.to_a ).to eq [['1', '2']]
end
Expand All @@ -35,7 +34,6 @@
res = @conn.exec("SELECT 1 AS a, 2 AS b")
e = res.each
expect( e ).to be_a_kind_of(Enumerator)
pending "Rubinius doesn't define RETURN_SIZED_ENUMERATOR()" if RUBY_ENGINE=='rbx'
expect( e.size ).to eq( 1 )
expect( e.to_a ).to eq [{'a'=>'1', 'b'=>'2'}]
end
Expand Down

0 comments on commit 3dd9997

Please sign in to comment.