Permalink
Browse files

update example failing specs

  • Loading branch information...
1 parent 022f907 commit 16d286fd3269954d2e456faeb51b252c99e8d269 @dchelimsky dchelimsky committed Jan 26, 2010
Showing with 8 additions and 4 deletions.
  1. +1 −1 example_specs/failing/README.txt
  2. +7 −2 example_specs/failing/spec_helper.rb
  3. +0 −1 example_specs/failing/team_spec.rb
@@ -4,4 +4,4 @@ They allow us to see failure messages. RSpec wants to provide meaningful and hel
To see the types of messages you can expect, stand in this directory and run:
-../bin/spec ./*.rb
+../bin/rspec ./*.rb
@@ -1,3 +1,8 @@
-lib_path = File.expand_path(File.dirname(__FILE__) + "/../../lib")
+lib_path = File.expand_path('../../../lib', __FILE__)
$LOAD_PATH.unshift lib_path unless $LOAD_PATH.include?(lib_path)
-require 'spec/autorun'
+require 'rspec/autorun'
+require 'rspec/expectations'
+
+Rspec::Core.configure do |c|
+ c.include Rspec::Matchers
+end
@@ -1,6 +1,5 @@
require File.dirname(__FILE__) + '/spec_helper'
-
class Team
attr_reader :players
def initialize

0 comments on commit 16d286f

Please sign in to comment.