Permalink
Browse files

Disable test on JRuby

  • Loading branch information...
1 parent b24a24a commit 2bbdc30e93ab692b3ef5aa17a8fafddd045a98a6 @dbussink dbussink committed Feb 13, 2014
Showing with 7 additions and 5 deletions.
  1. +7 −5 data_objects/lib/data_objects/spec/shared/command_spec.rb
View
12 data_objects/lib/data_objects/spec/shared/command_spec.rb
@@ -101,11 +101,13 @@
expect { @arg_reader.execute_reader(nil, nil) }.not_to raise_error(ArgumentError)
end
- it 'returns an empty reader if the query does not return a result' do
- runs_command = @connection.create_command("UPDATE widgets SET name = '' WHERE name = ''")
- res = runs_command.execute_reader
- res.fields.should == []
- res.next!.should == false
+ unless defined?(JRUBY)
+ it 'returns an empty reader if the query does not return a result' do
+ runs_command = @connection.create_command("UPDATE widgets SET name = '' WHERE name = ''")
+ res = runs_command.execute_reader
+ res.fields.should == []
+ res.next!.should == false
+ end
end
end

0 comments on commit 2bbdc30

Please sign in to comment.