Squeegy / radiant-settings

A global setting editor extension for Radiant

This URL has Read+Write access

saturnflyer (author)
Wed Oct 22 20:17:32 -0700 2008
commit  9b798b7af88c55a2c0c9715f52b6259c4c3c41bb
tree    4b8316548df2729c2c44480e0e18d07eecff709c
parent  528598dfdf45877133468fc061d4fded64986269
radiant-settings / spec / lib / radiant / admin_ui_spec.rb
100644 22 lines (18 sloc) 0.579 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require File.dirname(__FILE__) + "/../../spec_helper"
require File.dirname(__FILE__) + "/../../../settings_extension"
 
describe Radiant::AdminUI do
  before :each do
    @admin = Radiant::AdminUI.new
  end
  
  it "should have a settings Region Set" do
    @admin.should respond_to(:settings)
  end
  
  it "should should have regions for the 'index'" do
    pending
    @admin.settings.index.should_not be_nil
  end
  
  it "should have 'top, list, bottom' regions in the 'index main' region" do
    pending
    @admin.settings.index.main.should == %w{top list bottom}
  end
end