Sha256: caa3f46c0fbff3d69ff46b1d6d2083df9b9b1ce65b2f3e6d64a16f8831c7f9ef

Contents?: true

Size: 494 Bytes

Versions: 3

Compression:

Stored size: 494 Bytes

Contents

module MockedFixtures
  module Spec
    module Configuration
      def global_mock_fixtures
        Test::Unit::TestCase.mock_fixture_table_names
      end
      
      def global_mock_fixtures=(fixtures)
        Test::Unit::TestCase.mock_fixtures(*fixtures)
      end
      
      def mock_fixtures_with(mock_framework)
        Test::Unit::TestCase.mock_fixtures_with mock_framework
      end
    end
  end
end

Spec::Example::Configuration.send(:include, MockedFixtures::Spec::Configuration)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mocked_fixtures-0.1.0 lib/mocked_fixtures/spec/configuration.rb
mocked_fixtures-0.2.0 lib/mocked_fixtures/spec/configuration.rb
mocked_fixtures-0.3.0 lib/mocked_fixtures/spec/configuration.rb