Skip to content

Commit

Permalink
Fix a bug that stopped one of the specs working in Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
johnl committed Dec 8, 2010
1 parent c3ed9cc commit 19e46ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rados-load.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby

require 'lib/rados'
require File.dirname(__FILE__) + '/../lib/rados'
require 'logger'
require 'benchmark'

Expand Down
4 changes: 2 additions & 2 deletions spec/pool_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'lib/rados'
require File.join(File.dirname(__FILE__), '../lib/rados')
include Rados

describe Pool do
Expand Down Expand Up @@ -64,7 +64,7 @@ def a_pool
buf = @pool.read(oid)
buf.should == "1234\0006789"
buf.size.should == 9
buf[4].should == 0
buf[4].ord.should == 0
end

it "should write at a specified offset" do
Expand Down

0 comments on commit 19e46ae

Please sign in to comment.