summaryrefslogtreecommitdiff
path: root/spec/ruby/core/enumerable/lazy_spec.rb
blob: 935e5740672111fcc6384455f3fd793ee3a7eb49 (plain)
1
2
3
4
5
6
7
8
9
10
# -*- encoding: us-ascii -*-

require_relative '../../spec_helper'
require_relative 'fixtures/classes'

describe "Enumerable#lazy" do
  it "returns an instance of Enumerator::Lazy" do
    EnumerableSpecs::Numerous.new.lazy.should.instance_of?(Enumerator::Lazy)
  end
end