public
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
Decouple mock framework from global extensions used by rspec.

Supports use of flexmock or mocha w/ rspec-rails.
dchelimsky (author)
Sat May 24 15:55:15 -0700 2008
commit  2a881bfdaebe107946258889ed651941f413adbd
tree    925d6f3b5c697dfce32afb45eca3461b7e464da3
parent  73b3bf2d683d6ee90da7ecbaeeb53708e458788f
...
28
29
30
 
31
32
33
...
28
29
30
31
32
33
34
0
@@ -28,6 +28,7 @@ metaclass call with (class << self; self; end) and all will be well.
0
 * Add before_suite and after_suite callbacks to ExampleGroupMethods and Options. Closes #210.
0
 * The after(:suite) callback lambda is passed a boolean representing whether the suite passed or failed
0
 * Added IndentedTextFormatter. Closes #366.
0
+* decoupled mock framework from global extensions used by rspec - supports use of flexmock or mocha w/ rails
0
 
0
 == Version 1.1.3
0
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
16
17
18
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
0
@@ -1,18 +1,4 @@
0
-require 'spec/mocks/methods'
0
-require 'spec/mocks/argument_constraint_matchers'
0
-require 'spec/mocks/spec_methods'
0
-require 'spec/mocks/proxy'
0
-require 'spec/mocks/any_instance'
0
-require 'spec/mocks/mock'
0
-require 'spec/mocks/argument_expectation'
0
-require 'spec/mocks/message_expectation'
0
-require 'spec/mocks/order_group'
0
-require 'spec/mocks/errors'
0
-require 'spec/mocks/error_generator'
0
-require 'spec/mocks/extensions/object'
0
-require 'spec/mocks/extensions/class'
0
-require 'spec/mocks/space'
0
-
0
+require 'spec/mocks/framework'
0
 
0
 module Spec
0
   # == Mocks and Stubs
...
6
7
8
9
 
10
11
12
...
6
7
8
 
9
10
11
12
0
@@ -6,7 +6,7 @@ module Spec
0
       TINY   = 3
0
       RELEASE_CANDIDATE = nil
0
 
0
-      BUILD_TIME_UTC = 20080522075859
0
+      BUILD_TIME_UTC = 20080524224246
0
 
0
       STRING = [MAJOR, MINOR, TINY].join('.')
0
       TAG = "REL_#{[MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('_')}".upcase.gsub(/\.|-/, '_')
...
1
 
 
2
3
4
...
1
2
3
4
5
6
0
@@ -1,4 +1,6 @@
0
 require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "lib", "spec", "mocks"))
0
+require 'spec/mocks/framework'
0
+require 'spec/mocks/extensions'
0
 
0
 module Spec
0
   module Plugins
...
1
2
3
 
4
5
...
1
2
 
3
4
5
0
@@ -1,5 +1,5 @@
0
 require File.join(File.dirname(__FILE__), *%w[helper])
0
 
0
-["example_groups","interop"].each do |dir|
0
+%w[example_groups interop mock_framework_integration].each do |dir|
0
   require File.join(File.dirname(__FILE__), "#{dir}/stories")
0
 end

Comments