]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/plugins/mock_frameworks/mocha.rb
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / plugins / mock_frameworks / mocha.rb
1 require 'mocha/standalone'
2 require 'mocha/object'
3
4 module Spec
5   module Plugins
6     module MockFramework
7       include Mocha::Standalone
8       def setup_mocks_for_rspec
9         mocha_setup
10       end
11       def verify_mocks_for_rspec
12         mocha_verify
13       end
14       def teardown_mocks_for_rspec
15         mocha_teardown
16       end
17     end
18   end
19 end