Sha256: b52aae714e33b792d321bd5a7b354e6a9fa4f6333306a555b70ec65c07d50ae8

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

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

describe Spectate::Spectator do
  it "fails without a path" do
    lambda{Spectate::Spectator.new(nil)}.should raise_error(Spectate::CreationError)
  end
  
  it "fails if the parent doesn't exist" do
    pending
    Spectate::Spectator.clear_all!
    lambda{Spectate::Spectator.new("/foo")}.should raise_error(Spectate::CreationError)
  end
  
  describe "root node" do
    it "creates the Spectator tree if it didn't already exist" do
      pending
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spectate-0.0.0 spec/spectators/spectator_spec.rb