diff --git a/spec/ruby_warrior/abilities/attack_spec.rb b/spec/ruby_warrior/abilities/attack_spec.rb index 5a24fdb7..7ec723c8 100644 --- a/spec/ruby_warrior/abilities/attack_spec.rb +++ b/spec/ruby_warrior/abilities/attack_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Attack do before(:each) do diff --git a/spec/ruby_warrior/abilities/base_spec.rb b/spec/ruby_warrior/abilities/base_spec.rb index d460b0f1..0d9dd2fd 100644 --- a/spec/ruby_warrior/abilities/base_spec.rb +++ b/spec/ruby_warrior/abilities/base_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Base do before(:each) do diff --git a/spec/ruby_warrior/abilities/bind_spec.rb b/spec/ruby_warrior/abilities/bind_spec.rb index 239dae13..5e4c16a5 100644 --- a/spec/ruby_warrior/abilities/bind_spec.rb +++ b/spec/ruby_warrior/abilities/bind_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Bind do before(:each) do diff --git a/spec/ruby_warrior/abilities/direction_of_spec.rb b/spec/ruby_warrior/abilities/direction_of_spec.rb index 0ea671ef..5a7ade04 100644 --- a/spec/ruby_warrior/abilities/direction_of_spec.rb +++ b/spec/ruby_warrior/abilities/direction_of_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::DirectionOf do before(:each) do diff --git a/spec/ruby_warrior/abilities/direction_of_stairs_spec.rb b/spec/ruby_warrior/abilities/direction_of_stairs_spec.rb index 71aa4fbe..b97e2d16 100644 --- a/spec/ruby_warrior/abilities/direction_of_stairs_spec.rb +++ b/spec/ruby_warrior/abilities/direction_of_stairs_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::DirectionOfStairs do before(:each) do diff --git a/spec/ruby_warrior/abilities/distance_of_spec.rb b/spec/ruby_warrior/abilities/distance_of_spec.rb index 9c0d94ce..ab12fbee 100644 --- a/spec/ruby_warrior/abilities/distance_of_spec.rb +++ b/spec/ruby_warrior/abilities/distance_of_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::DistanceOf do before(:each) do diff --git a/spec/ruby_warrior/abilities/explode_spec.rb b/spec/ruby_warrior/abilities/explode_spec.rb index 7b384707..c04c9a07 100644 --- a/spec/ruby_warrior/abilities/explode_spec.rb +++ b/spec/ruby_warrior/abilities/explode_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Explode do before(:each) do diff --git a/spec/ruby_warrior/abilities/feel_spec.rb b/spec/ruby_warrior/abilities/feel_spec.rb index 01f43bae..d6603106 100644 --- a/spec/ruby_warrior/abilities/feel_spec.rb +++ b/spec/ruby_warrior/abilities/feel_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Feel do before(:each) do diff --git a/spec/ruby_warrior/abilities/form_spec.rb b/spec/ruby_warrior/abilities/form_spec.rb index 690a5735..70fff48e 100644 --- a/spec/ruby_warrior/abilities/form_spec.rb +++ b/spec/ruby_warrior/abilities/form_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Form do before(:each) do diff --git a/spec/ruby_warrior/abilities/health_spec.rb b/spec/ruby_warrior/abilities/health_spec.rb index 7d20c5f8..85094045 100644 --- a/spec/ruby_warrior/abilities/health_spec.rb +++ b/spec/ruby_warrior/abilities/health_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Health do before(:each) do diff --git a/spec/ruby_warrior/abilities/listen_spec.rb b/spec/ruby_warrior/abilities/listen_spec.rb index 266d842d..de290282 100644 --- a/spec/ruby_warrior/abilities/listen_spec.rb +++ b/spec/ruby_warrior/abilities/listen_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Listen do before(:each) do diff --git a/spec/ruby_warrior/abilities/look_spec.rb b/spec/ruby_warrior/abilities/look_spec.rb index ef771a8f..a92e1d51 100644 --- a/spec/ruby_warrior/abilities/look_spec.rb +++ b/spec/ruby_warrior/abilities/look_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Look do before(:each) do diff --git a/spec/ruby_warrior/abilities/pivot_spec.rb b/spec/ruby_warrior/abilities/pivot_spec.rb index 3261973e..8a80527c 100644 --- a/spec/ruby_warrior/abilities/pivot_spec.rb +++ b/spec/ruby_warrior/abilities/pivot_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Pivot do before(:each) do diff --git a/spec/ruby_warrior/abilities/rescue_spec.rb b/spec/ruby_warrior/abilities/rescue_spec.rb index a4a154ac..8bfaa00e 100644 --- a/spec/ruby_warrior/abilities/rescue_spec.rb +++ b/spec/ruby_warrior/abilities/rescue_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Rescue do before(:each) do diff --git a/spec/ruby_warrior/abilities/rest_spec.rb b/spec/ruby_warrior/abilities/rest_spec.rb index a77b0f55..3788af22 100644 --- a/spec/ruby_warrior/abilities/rest_spec.rb +++ b/spec/ruby_warrior/abilities/rest_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Rest do before(:each) do diff --git a/spec/ruby_warrior/abilities/shoot_spec.rb b/spec/ruby_warrior/abilities/shoot_spec.rb index aad89a22..04766160 100644 --- a/spec/ruby_warrior/abilities/shoot_spec.rb +++ b/spec/ruby_warrior/abilities/shoot_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Shoot do before(:each) do diff --git a/spec/ruby_warrior/abilities/throw_spec.rb b/spec/ruby_warrior/abilities/throw_spec.rb index 24d7b2a1..b4703dbc 100644 --- a/spec/ruby_warrior/abilities/throw_spec.rb +++ b/spec/ruby_warrior/abilities/throw_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Detonate do before(:each) do diff --git a/spec/ruby_warrior/abilities/walk_spec.rb b/spec/ruby_warrior/abilities/walk_spec.rb index b8c1de6d..95ce89c0 100644 --- a/spec/ruby_warrior/abilities/walk_spec.rb +++ b/spec/ruby_warrior/abilities/walk_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Abilities::Walk do before(:each) do diff --git a/spec/ruby_warrior/core_additions_spec.rb b/spec/ruby_warrior/core_additions_spec.rb index beb18d89..49b11588 100644 --- a/spec/ruby_warrior/core_additions_spec.rb +++ b/spec/ruby_warrior/core_additions_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe String do it "should wrap text at white space when over a specific character length" do diff --git a/spec/ruby_warrior/floor_spec.rb b/spec/ruby_warrior/floor_spec.rb index ae72cc8c..5b99af4c 100644 --- a/spec/ruby_warrior/floor_spec.rb +++ b/spec/ruby_warrior/floor_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Floor do describe "2x3" do diff --git a/spec/ruby_warrior/game_spec.rb b/spec/ruby_warrior/game_spec.rb index b7314d4d..735eb7a8 100644 --- a/spec/ruby_warrior/game_spec.rb +++ b/spec/ruby_warrior/game_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Game do before(:each) do diff --git a/spec/ruby_warrior/level_loader_spec.rb b/spec/ruby_warrior/level_loader_spec.rb index 63e3b477..e57d58dd 100644 --- a/spec/ruby_warrior/level_loader_spec.rb +++ b/spec/ruby_warrior/level_loader_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::LevelLoader do describe "with profile" do diff --git a/spec/ruby_warrior/level_spec.rb b/spec/ruby_warrior/level_spec.rb index 7fdf4cd4..e399bdce 100644 --- a/spec/ruby_warrior/level_spec.rb +++ b/spec/ruby_warrior/level_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' require 'set' describe RubyWarrior::Level do diff --git a/spec/ruby_warrior/player_generator_spec.rb b/spec/ruby_warrior/player_generator_spec.rb index e3d6c17a..b4dc5dea 100644 --- a/spec/ruby_warrior/player_generator_spec.rb +++ b/spec/ruby_warrior/player_generator_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::PlayerGenerator do before(:each) do diff --git a/spec/ruby_warrior/position_spec.rb b/spec/ruby_warrior/position_spec.rb index 932a84e1..f2b03e3f 100644 --- a/spec/ruby_warrior/position_spec.rb +++ b/spec/ruby_warrior/position_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Position do before(:each) do diff --git a/spec/ruby_warrior/profile_spec.rb b/spec/ruby_warrior/profile_spec.rb index 266c0a15..3dd52d11 100644 --- a/spec/ruby_warrior/profile_spec.rb +++ b/spec/ruby_warrior/profile_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Profile do before(:each) do diff --git a/spec/ruby_warrior/space_spec.rb b/spec/ruby_warrior/space_spec.rb index 4856eb75..e4938518 100644 --- a/spec/ruby_warrior/space_spec.rb +++ b/spec/ruby_warrior/space_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Space do before(:each) do diff --git a/spec/ruby_warrior/tower_spec.rb b/spec/ruby_warrior/tower_spec.rb index 2ff35b2c..c4de2680 100644 --- a/spec/ruby_warrior/tower_spec.rb +++ b/spec/ruby_warrior/tower_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Tower do before(:each) do diff --git a/spec/ruby_warrior/turn_spec.rb b/spec/ruby_warrior/turn_spec.rb index 4bd11d02..871d44ea 100644 --- a/spec/ruby_warrior/turn_spec.rb +++ b/spec/ruby_warrior/turn_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::Turn do describe "with actions" do diff --git a/spec/ruby_warrior/ui_spec.rb b/spec/ruby_warrior/ui_spec.rb index 20dff062..10f24973 100644 --- a/spec/ruby_warrior/ui_spec.rb +++ b/spec/ruby_warrior/ui_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../spec_helper' +require_relative '../spec_helper' describe RubyWarrior::UI do before(:each) do diff --git a/spec/ruby_warrior/units/archer_spec.rb b/spec/ruby_warrior/units/archer_spec.rb index daadcf14..c63713ff 100644 --- a/spec/ruby_warrior/units/archer_spec.rb +++ b/spec/ruby_warrior/units/archer_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::Archer do before(:each) do diff --git a/spec/ruby_warrior/units/base_spec.rb b/spec/ruby_warrior/units/base_spec.rb index ce9c1169..d818a47f 100644 --- a/spec/ruby_warrior/units/base_spec.rb +++ b/spec/ruby_warrior/units/base_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::Base do before(:each) do diff --git a/spec/ruby_warrior/units/captive_spec.rb b/spec/ruby_warrior/units/captive_spec.rb index 46fe37a1..2b33134a 100644 --- a/spec/ruby_warrior/units/captive_spec.rb +++ b/spec/ruby_warrior/units/captive_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::Captive do before(:each) do diff --git a/spec/ruby_warrior/units/golem_spec.rb b/spec/ruby_warrior/units/golem_spec.rb index a4dfc48c..32bf7799 100644 --- a/spec/ruby_warrior/units/golem_spec.rb +++ b/spec/ruby_warrior/units/golem_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::Golem do before(:each) do diff --git a/spec/ruby_warrior/units/sludge_spec.rb b/spec/ruby_warrior/units/sludge_spec.rb index db1c1e67..7f24eba7 100644 --- a/spec/ruby_warrior/units/sludge_spec.rb +++ b/spec/ruby_warrior/units/sludge_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::Sludge do before(:each) do diff --git a/spec/ruby_warrior/units/thick_sludge_spec.rb b/spec/ruby_warrior/units/thick_sludge_spec.rb index f0f9c9a8..ac89d282 100644 --- a/spec/ruby_warrior/units/thick_sludge_spec.rb +++ b/spec/ruby_warrior/units/thick_sludge_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::ThickSludge do before(:each) do diff --git a/spec/ruby_warrior/units/warrior_spec.rb b/spec/ruby_warrior/units/warrior_spec.rb index 17c59781..e089f1ef 100644 --- a/spec/ruby_warrior/units/warrior_spec.rb +++ b/spec/ruby_warrior/units/warrior_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' class Player def turn(warrior) diff --git a/spec/ruby_warrior/units/wizard_spec.rb b/spec/ruby_warrior/units/wizard_spec.rb index 27966dcf..5edd670f 100644 --- a/spec/ruby_warrior/units/wizard_spec.rb +++ b/spec/ruby_warrior/units/wizard_spec.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../../spec_helper' +require_relative '../../spec_helper' describe RubyWarrior::Units::Wizard do before(:each) do