diff options
author | Eloy Duran <eloy.de.enige@gmail.com> | 2009-08-31 23:36:56 +0200 |
---|---|---|
committer | Eloy Duran <eloy.de.enige@gmail.com> | 2009-08-31 23:36:56 +0200 |
commit | bc0df844c7b20f30e456c493e086a9a871471550 (patch) | |
tree | 7ad53748be8fcec7484936c134e933906940f723 /test | |
parent | 9c21d75adda0d2a7b1677f9e50ac217619c950cb (diff) | |
download | bacon-bc0df844c7b20f30e456c493e086a9a871471550.tar.gz bacon-bc0df844c7b20f30e456c493e086a9a871471550.tar.xz bacon-bc0df844c7b20f30e456c493e086a9a871471550.zip |
Revert old change that was made because 1.9.0 couldn't rescue a splatted array of Exception classes. MacRuby currently can't use when with the same array and 1.9.2dev does.
Also some other minor changes which didn't work currently on 1.9.2dev, but are nicer anyway imo.
Diffstat (limited to 'test')
-rw-r--r-- | test/spec_bacon.rb | 2 | ||||
-rw-r--r-- | test/spec_should.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb index 2d068bc..b1360be 100644 --- a/test/spec_bacon.rb +++ b/test/spec_bacon.rb @@ -1,5 +1,5 @@ $-w,w = nil, $-w -require File.join(File.dirname(__FILE__), '../lib/bacon') +require File.expand_path('../../lib/bacon', __FILE__) $-w = w # Hooray for meta-testing. diff --git a/test/spec_should.rb b/test/spec_should.rb index 30cf36a..4986aa2 100644 --- a/test/spec_should.rb +++ b/test/spec_should.rb @@ -1,4 +1,4 @@ -require File.join(File.dirname(__FILE__), '../lib/bacon') +require File.expand_path('../../lib/bacon', __FILE__) describe "#should shortcut for #it('should')" do |