]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/plugins/mock_frameworks/flexmock.rb
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / plugins / mock_frameworks / flexmock.rb
1 #!/usr/bin/env ruby
2 #
3 #  Created by Jim Weirich on 2007-04-10.
4 #  Copyright (c) 2007. All rights reserved.
5
6 require 'flexmock/rspec'
7
8 module Spec
9   module Plugins
10     module MockFramework
11       include FlexMock::MockContainer
12       def setup_mocks_for_rspec
13         # No setup required
14       end
15       def verify_mocks_for_rspec
16         flexmock_verify
17       end
18       def teardown_mocks_for_rspec
19         flexmock_close
20       end
21     end
22   end
23 end