Sha256: ca9fef6847a10a56e6d8109aa3aadebd924d51474beb36761041e8cc05b1bd40

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

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

context 'Given a new StaticSidebar' do
  setup { @sb = StaticSidebar.new }

  specify 'title should be Links' do
    @sb.title.should == 'Links'
  end

  specify 'body should be our default' do
    @sb.body.should == StaticSidebar::DEFAULT_TEXT
  end

  specify 'description should be set correctly' do
    @sb.description.should == 'Static content, like links to other sites, advertisements, or blog meta-information'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-4.1.1 spec/models/static_sidebar_spec.rb
typo-4.1 spec/models/static_sidebar_spec.rb