Sha256: a39448669360fb6b952b7c097227f560e37fe8c6410447b90562adb1b7723854

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

require 'test_helper'

describe "not implemented methods" do
  [:all?,
   :any?,
   :chunk,
   :cycle,
   :find,
   :detect,
  ].each do |m|
    it "#{m} is not implemented because it's nonsensical" do
      assert_raises(NotImplementedError) do
        stream = Frappuccino::Stream.new(nil)
        stream.send(m)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
frappuccino-0.3.0 test/not_implemented_test.rb
frappuccino-0.2.0 test/not_implemented_test.rb