added RSpec and RSpec on Rails
This commit is contained in:
parent
ddd5b4cf19
commit
3f607d565b
316 changed files with 23828 additions and 0 deletions
23
vendor/gems/rspec-1.1.2/plugins/mock_frameworks/flexmock.rb
vendored
Normal file
23
vendor/gems/rspec-1.1.2/plugins/mock_frameworks/flexmock.rb
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue