Sha256: b5203bc97397e827dd8a3698cb1b2f82728078d44bcc82216a63810af2e6afbf

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module Bogus
  module RSpecAdapter
    def setup_mocks_for_rspec
      # no setup needed
    end

    def verify_mocks_for_rspec
      Bogus.ensure_all_expectations_satisfied!
    end

    def teardown_mocks_for_rspec
      Bogus.reset_stubbed_methods
      Bogus.clear_expectations
      Bogus.reset_overwritten_classes
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bogus-0.0.3.rc.1 lib/bogus/rspec_adapter.rb