Sha256: e3bef09a55af17d455f16873e8f76ecbbaa218e8af4df8d5b505971dd2eb381c

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

include Fathom

describe Import do

  before do
    @content = 'some content'
    @options = OptionsHash.new({:content => @content})
    @i = Import.new(@options)
    @values = [1,2,3,4,5]
  end
  
  it "should initialize with optional content" do
    @i.content.should eql(@content)
  end

  it "should record the initialization options" do
    @i.options.should eql(@options)
  end
  
  it "should have a class-level import method" do
    Import.should be_respond_to(:import)
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fathom-0.2.3 spec/fathom/import_spec.rb
fathom-0.2.2 spec/fathom/import_spec.rb
fathom-0.2.1 spec/fathom/import_spec.rb
fathom-0.2.0 spec/fathom/import_spec.rb