Sha256: 77d08641ce95f61d26bbad9a1a6db07a437eb67a26cb5ae4fbc878df1e6211ed

Contents?: true

Size: 314 Bytes

Versions: 11

Compression:

Stored size: 314 Bytes

Contents

require 'spec_helper'

describe Heidi do
  before(:all) do
    shell = SimpleShell.new("/")
    shell.mkdir("-p", "/tmp/heidi_spec/projects/one")
  end

  it "should gather projects on load" do
    h = Heidi.new("/tmp/heidi_spec")
    h.projects.should be_kind_of(Array)
    h.projects.count.should == 1
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
heidi-0.3.1 spec/heidi_spec.rb
heidi-0.3.0 spec/heidi_spec.rb
heidi-0.2.1 spec/heidi_spec.rb
heidi-0.2.0 spec/heidi_spec.rb
heidi-0.1.2 spec/heidi_spec.rb
heidi-0.1.1 spec/heidi_spec.rb
heidi-0.1.0 spec/heidi_spec.rb
heidi-0.0.4 spec/heidi_spec.rb
heidi-0.0.3 spec/heidi_spec.rb
heidi-0.0.2 spec/heidi_spec.rb
heidi-0.0.1 spec/heidi_spec.rb