Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update controller specs for namespace changes

  • Loading branch information...
commit 32163f51c4f9b6825d185fce061c7ca4a2e3e9c3 1 parent 2de26c1
@saturnflyer saturnflyer authored
View
2  spec/controllers/radiant/extensions_controller_spec.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::ExtensionsController do
+describe Radiant::Admin::ExtensionsController do
#dataset :users
before :each do
View
4 spec/controllers/radiant/layouts_controller_spec.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/../../spec_helper"
-describe Radiant::LayoutsController do
+describe Radiant::Admin::LayoutsController do
#dataset :users, :pages_with_layouts
before :each do
@@ -8,7 +8,7 @@
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
View
2  spec/controllers/radiant/page_fields_controller_spec.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-describe Radiant::PageFieldsController do
+describe Radiant::Admin::PageFieldsController do
#dataset :users
before do
View
2  spec/controllers/radiant/pages_controller_spec.rb
@@ -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
View
4 spec/controllers/radiant/paginated_controller_spec.rb
@@ -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
View
2  spec/controllers/radiant/preferences_controller_spec.rb
@@ -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
View
2  spec/controllers/radiant/references_controller_spec.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../../spec_helper'
-describe Radiant::ReferencesController do
+describe Radiant::Admin::ReferencesController do
#dataset :users
before :each do
View
2  spec/controllers/radiant/users_controller_spec.rb
@@ -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
View
2  spec/controllers/radiant/welcome_controller_spec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.