Permalink
Browse files

update controller specs for namespace changes

  • Loading branch information...
saturnflyer committed Feb 19, 2013
1 parent 2de26c1 commit 32163f51c4f9b6825d185fce061c7ca4a2e3e9c3
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::ExtensionsController do
+describe Radiant::Admin::ExtensionsController do
#dataset :users
before :each do
@@ -1,14 +1,14 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::LayoutsController do
+describe Radiant::Admin::LayoutsController do
#dataset :users, :pages_with_layouts
before :each do
login_as :designer
end
it "should be a ResourceController" do
- controller.should be_kind_of(Radiant::ResourceController)
+ controller.should be_kind_of(Radiant::Admin::ResourceController)
end
it "should handle Layouts" do
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-describe Radiant::PageFieldsController do
+describe Radiant::Admin::PageFieldsController do
#dataset :users
before do
@@ -2,7 +2,7 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-describe Radiant::PagesController do
+describe Radiant::Admin::PagesController do
#dataset :users, :pages
before :each do
@@ -1,9 +1,9 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::UsersController do
+describe Radiant::Admin::UsersController do
it "should be paginated" do
- Admin::UsersController.paginated.should be_true
+ Radiant::Admin::UsersController.paginated.should be_true
controller.paginated?.should be_true
end
@@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
-describe Radiant::PreferencesController do
+describe Radiant::Admin::PreferencesController do
#dataset :users
it "should allow you to view your preferences" do
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-describe Radiant::ReferencesController do
+describe Radiant::Admin::ReferencesController do
#dataset :users
before :each do
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::UsersController do
+describe Radiant::Admin::UsersController do
#dataset :users
it "should be a ResourceController" do
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::WelcomeController do
+describe Radiant::Admin::WelcomeController do
#dataset :users
it "should redirect to page tree on get to /admin/welcome" do

0 comments on commit 32163f5

Please sign in to comment.