Sha256: 56c1648aadf5a6466fa6cc2425762c354c27ec2f9fc72ecd0541f14852a0ea83

Contents?: true

Size: 774 Bytes

Versions: 5

Compression:

Stored size: 774 Bytes

Contents

require 'support/test_helper'

module RubySlippers::Engine
  context "Site" do
    setup do
      @config = Config.new(:markdown => true, :author => AUTHOR, :url => URL)
    end

    context "articles" do
      setup do
        Site.new(@config).articles
      end
      should("returns a size of 4") {
        topic.size
      }.equals 4

      should("returns a articles in array") {
        topic.class
      }.equals Array
    end

    context "sitemap(type)" do

    end

    context "index(type)" do

    end

    context "archives(filter)" do

    end

    context "article(route)" do

    end

    context "tagged(tag)" do

    end

    context "go(route, env, type)" do

    end

    context "privates" do
      context "http(code)" do

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_slippers-0.2.15 test/unit/site_test.rb
ruby_slippers-0.2.8 test/unit/site_test.rb
ruby_slippers-0.2.4 test/unit/site_test.rb
ruby_slippers-0.2.3 test/unit/site_test.rb
ruby_slippers-0.2.0 test/unit/site_test.rb