Sha256: 2f549cf8b1ccbdca6a2ead43d3ec7ee4c1697010b6f62f329760d2e70038b9a2

Contents?: true

Size: 405 Bytes

Versions: 10

Compression:

Stored size: 405 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

require 'mocha/no_yields'

class NoYieldsTest < Mocha::TestCase
  include Mocha

  def test_should_provide_parameters_for_no_yields_in_single_invocation
    parameter_group = NoYields.new
    parameter_groups = []
    parameter_group.each do |parameters|
      parameter_groups << parameters
    end
    assert_equal [], parameter_groups
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
mocha-1.10.2 test/unit/no_yields_test.rb
mocha-1.10.1 test/unit/no_yields_test.rb
mocha-1.10.0 test/unit/no_yields_test.rb
mocha-1.10.0.beta.1 test/unit/no_yields_test.rb
mocha-1.10.0.alpha test/unit/no_yields_test.rb
mocha-1.9.0 test/unit/no_yields_test.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/mocha-1.8.0/test/unit/no_yields_test.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/mocha-1.8.0/test/unit/no_yields_test.rb
mocha-1.8.0 test/unit/no_yields_test.rb
mocha-1.7.0 test/unit/no_yields_test.rb