aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/rspec-1.3.1/lib/spec/expectations.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-03-12 13:05:19 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-03-12 13:05:19 +0000
commit37bff4c0154b57b35a3194a9b31a9422496b955b (patch)
tree61592a6bb9d1d9fea378a6e4efa8fdf7d5525b8a /vendor/gems/rspec-1.3.1/lib/spec/expectations.rb
parent8b49dc894066e452232cabd09333895487f86986 (diff)
parent8acea24f98268fbb9b73b66b9e98a1788a3b30ac (diff)
Merge branch 'merged-bundler' into develop
Diffstat (limited to 'vendor/gems/rspec-1.3.1/lib/spec/expectations.rb')
-rw-r--r--vendor/gems/rspec-1.3.1/lib/spec/expectations.rb35
1 files changed, 0 insertions, 35 deletions
diff --git a/vendor/gems/rspec-1.3.1/lib/spec/expectations.rb b/vendor/gems/rspec-1.3.1/lib/spec/expectations.rb
deleted file mode 100644
index 13cf59b26..000000000
--- a/vendor/gems/rspec-1.3.1/lib/spec/expectations.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require 'spec/matchers'
-require 'spec/expectations/fail_with'
-require 'spec/expectations/errors'
-require 'spec/expectations/extensions'
-require 'spec/expectations/handler'
-
-module Spec
-
- # Spec::Expectations lets you set expectations on your objects.
- #
- # result.should == 37
- # team.should have(11).players_on_the_field
- #
- # == How Expectations work.
- #
- # Spec::Expectations adds two methods to Object:
- #
- # should(matcher=nil)
- # should_not(matcher=nil)
- #
- # Both methods take an optional Expression Matcher (See Spec::Matchers).
- #
- # When +should+ receives an Expression Matcher, it calls <tt>matches?(self)</tt>. If
- # it returns +true+, the spec passes and execution continues. If it returns
- # +false+, then the spec fails with the message returned by <tt>matcher.failure_message</tt>.
- #
- # Similarly, when +should_not+ receives a matcher, it calls <tt>matches?(self)</tt>. If
- # it returns +false+, the spec passes and execution continues. If it returns
- # +true+, then the spec fails with the message returned by <tt>matcher.negative_failure_message</tt>.
- #
- # RSpec ships with a standard set of useful matchers, and writing your own
- # matchers is quite simple. See Spec::Matchers for details.
- module Expectations
- end
-end