Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #38 #39

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/attack_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Attack do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/base_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Base do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/bind_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Bind do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/direction_of_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::DirectionOf do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/direction_of_stairs_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::DirectionOfStairs do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/distance_of_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::DistanceOf do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/explode_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Explode do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/feel_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Feel do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/form_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Form do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/health_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Health do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/listen_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Listen do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/look_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Look do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/pivot_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Pivot do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/rescue_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Rescue do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/rest_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Rest do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/shoot_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Shoot do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/throw_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Detonate do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/abilities/walk_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Abilities::Walk do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/core_additions_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/floor_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Floor do
describe "2x3" do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/game_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Game do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/level_loader_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::LevelLoader do
describe "with profile" do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/level_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'
require 'set'

describe RubyWarrior::Level do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/player_generator_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::PlayerGenerator do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/position_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Position do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/profile_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Profile do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/space_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Space do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/tower_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Tower do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/turn_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::Turn do
describe "with actions" do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/ui_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../spec_helper'
require_relative '../spec_helper'

describe RubyWarrior::UI do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/archer_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::Archer do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/base_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::Base do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/captive_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::Captive do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/golem_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::Golem do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/sludge_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::Sludge do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/thick_sludge_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::ThickSludge do
before(:each) do
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/warrior_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

class Player
def turn(warrior)
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby_warrior/units/wizard_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../spec_helper'
require_relative '../../spec_helper'

describe RubyWarrior::Units::Wizard do
before(:each) do
Expand Down