Sha256: 03d1e2a9f2fb3e2781c26c89d4e06be7baf173fd1b2c1e0b37842ecfa7f48ff8

Contents?: true

Size: 977 Bytes

Versions: 1

Compression:

Stored size: 977 Bytes

Contents

# encoding: utf-8

require_relative "../spec_helper"

describe Project do
  it "should have root" do
    Project.should respond_to(:root)
    Project.root.should be_kind_of(String)
  end

  it "should have path which is similar as root, but it is Path, not String" do
    Project.should respond_to(:path)
    Project.path.should be_kind_of(Path)
  end

  it "should respond to name" do
    Project.should respond_to(:name)
    Project.name.should eql("rango") # it's derived from Dir.pwd
  end

  it "should have settings" do
    Project.should respond_to(:settings)
    Project.setttings.should be_kind_of(Rango::Settings::Framework)
  end

  it "should have router" do
    Project.should respond_to(:router)
  end

  it "should have logger" do
    Project.should respond_to(:logger)
    Project.logger.should be_kind_of(Rango::Logger)
  end

  describe ".import" do
    # TODO
  end

  describe ".import!" do
    # TODO
  end

  describe ".configure" do
    # TODO
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rango-0.0.4 spec/rango/project_spec.rb