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

require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)

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