Permalink
Browse files

Updated .gitignore. Updated spec file require statements. RSpec

automatically includes ./spec in the path.
  • Loading branch information...
1 parent 94dc735 commit 8476928c5c0b3099e7ac5aefa35ce0d59c7a225d @jameskbride jameskbride committed Dec 31, 2011
Showing with 41 additions and 38 deletions.
  1. +3 −0 .gitignore
  2. +1 −1 spec/ruby_warrior/abilities/attack_spec.rb
  3. +1 −1 spec/ruby_warrior/abilities/base_spec.rb
  4. +1 −1 spec/ruby_warrior/abilities/bind_spec.rb
  5. +1 −1 spec/ruby_warrior/abilities/direction_of_spec.rb
  6. +1 −1 spec/ruby_warrior/abilities/direction_of_stairs_spec.rb
  7. +1 −1 spec/ruby_warrior/abilities/distance_of_spec.rb
  8. +1 −1 spec/ruby_warrior/abilities/explode_spec.rb
  9. +1 −1 spec/ruby_warrior/abilities/feel_spec.rb
  10. +1 −1 spec/ruby_warrior/abilities/form_spec.rb
  11. +1 −1 spec/ruby_warrior/abilities/health_spec.rb
  12. +1 −1 spec/ruby_warrior/abilities/listen_spec.rb
  13. +1 −1 spec/ruby_warrior/abilities/look_spec.rb
  14. +1 −1 spec/ruby_warrior/abilities/pivot_spec.rb
  15. +1 −1 spec/ruby_warrior/abilities/rescue_spec.rb
  16. +1 −1 spec/ruby_warrior/abilities/rest_spec.rb
  17. +1 −1 spec/ruby_warrior/abilities/shoot_spec.rb
  18. +1 −1 spec/ruby_warrior/abilities/throw_spec.rb
  19. +1 −1 spec/ruby_warrior/abilities/walk_spec.rb
  20. +1 −1 spec/ruby_warrior/core_additions_spec.rb
  21. +1 −1 spec/ruby_warrior/floor_spec.rb
  22. +1 −1 spec/ruby_warrior/game_spec.rb
  23. +1 −1 spec/ruby_warrior/level_loader_spec.rb
  24. +1 −1 spec/ruby_warrior/level_spec.rb
  25. +1 −1 spec/ruby_warrior/player_generator_spec.rb
  26. +1 −1 spec/ruby_warrior/position_spec.rb
  27. +1 −1 spec/ruby_warrior/profile_spec.rb
  28. +1 −1 spec/ruby_warrior/space_spec.rb
  29. +1 −1 spec/ruby_warrior/tower_spec.rb
  30. +1 −1 spec/ruby_warrior/turn_spec.rb
  31. +1 −1 spec/ruby_warrior/ui_spec.rb
  32. +1 −1 spec/ruby_warrior/units/archer_spec.rb
  33. +1 −1 spec/ruby_warrior/units/base_spec.rb
  34. +1 −1 spec/ruby_warrior/units/captive_spec.rb
  35. +1 −1 spec/ruby_warrior/units/golem_spec.rb
  36. +1 −1 spec/ruby_warrior/units/sludge_spec.rb
  37. +1 −1 spec/ruby_warrior/units/thick_sludge_spec.rb
  38. +1 −1 spec/ruby_warrior/units/warrior_spec.rb
  39. +1 −1 spec/ruby_warrior/units/wizard_spec.rb
View
@@ -1,2 +1,5 @@
tmp/**/*
*.gem
+.project
+.buildpath
+Gemfile.lock
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Attack do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Base do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Bind do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::DirectionOf do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::DirectionOfStairs do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::DistanceOf do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Explode do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Feel do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Form do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Health do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Listen do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Look do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Pivot do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Rescue do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Rest do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Shoot do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Detonate do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Abilities::Walk do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe String do
it "should wrap text at white space when over a specific character length" do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Floor do
describe "2x3" do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Game do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::LevelLoader do
describe "with profile" do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
require 'set'
describe RubyWarrior::Level do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::PlayerGenerator do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Position do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Profile do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Space do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Tower do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Turn do
describe "with actions" do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../spec_helper'
+require 'spec_helper'
describe RubyWarrior::UI do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::Archer do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::Base do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::Captive do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::Golem do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::Sludge do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::ThickSludge do
before(:each) do
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
class Player
def turn(warrior)
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
+require 'spec_helper'
describe RubyWarrior::Units::Wizard do
before(:each) do

0 comments on commit 8476928

Please sign in to comment.