Permalink
Browse files

Delete boilerplate controller spec

  • Loading branch information...
1 parent 9d4559a commit 30d80c5c41a74f43c89d6cca0a86ea4789eb4f2d @sferik committed Dec 13, 2010
Showing with 0 additions and 25 deletions.
  1. +0 −25 spec/controllers/main_spec.rb
@@ -1,25 +0,0 @@
-require File.expand_path('../../spec_helper', __FILE__)
-
-describe MerbAdmin::Main do
-
- before(:each) do
- mount_slice
- end
-
- it "should have helper methods for dealing with public paths" do
- @controller = dispatch_to(MerbAdmin::Main, :index)
-
- @controller.public_path_for(:image).should == "/slices/merb-admin/images"
- @controller.public_path_for(:javascript).should == "/slices/merb-admin/javascripts"
- @controller.public_path_for(:stylesheet).should == "/slices/merb-admin/stylesheets"
-
- @controller.image_path.should == "/slices/merb-admin/images"
- @controller.javascript_path.should == "/slices/merb-admin/javascripts"
- @controller.stylesheet_path.should == "/slices/merb-admin/stylesheets"
-
- @controller.app_path_for(:image).should == "#{Merb.root}/public/slices/merb-admin/images"
- @controller.app_path_for(:javascript).should == "#{Merb.root}/public/slices/merb-admin/javascripts"
- @controller.app_path_for(:stylesheet).should == "#{Merb.root}/public/slices/merb-admin/stylesheets"
- end
-
-end

0 comments on commit 30d80c5

Please sign in to comment.