static_sidebar_spec.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:0k
- require File.dirname(__FILE__) + '/../spec_helper'
- describe 'Given a new StaticSidebar' do
- before(:each) { @sb = StaticSidebar.new }
- it 'title should be Links' do
- @sb.title.should == 'Links'
- end
- it 'body should be our default' do
- @sb.body.should == StaticSidebar::DEFAULT_TEXT
- end
- it 'description should be set correctly' do
- @sb.description.should == 'Static content, like links to other sites, advertisements, or blog meta-information'
- end
- end