Skip to content

Commit

Permalink
Fixing spec_helper require for 1.9.2
Browse files Browse the repository at this point in the history
Shoving in some `File.expand_path` goodness.
  • Loading branch information
ymendel committed Mar 19, 2012
1 parent b1ee870 commit 8f4f985
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/fixnum_spec.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/spec_helper.rb'
require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')

describe Fixnum do
it 'should give an elapsed time' do
Expand Down
2 changes: 1 addition & 1 deletion spec/punch_command_spec.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/spec_helper.rb'
require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')

def run_command(*args)
Object.const_set(:ARGV, args)
Expand Down
2 changes: 1 addition & 1 deletion spec/punch_instance_spec.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/spec_helper.rb'
require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')

describe Punch, 'instance' do
before do
Expand Down
2 changes: 1 addition & 1 deletion spec/punch_spec.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/spec_helper.rb'
require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')

describe Punch do
it 'should load data' do
Expand Down

0 comments on commit 8f4f985

Please sign in to comment.