added RSpec and RSpec on Rails

This commit is contained in:
Xin Zheng 2008-01-22 16:39:09 +00:00
parent ddd5b4cf19
commit 3f607d565b
316 changed files with 23828 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#!/usr/bin/env ruby
#
# Created by Jim Weirich on 2007-04-10.
# Copyright (c) 2007. All rights reserved.
require 'flexmock/rspec'
module Spec
module Plugins
module MockFramework
include FlexMock::MockContainer
def setup_mocks_for_rspec
# No setup required
end
def verify_mocks_for_rspec
flexmock_verify
end
def teardown_mocks_for_rspec
flexmock_close
end
end
end
end