Commit 622e0242

mo k <m@mokhan.ca>
2011-12-19 04:47:59
fix broken tests.
1 parent 032492e
spec/controllers/photos_controller_spec.rb
@@ -1,19 +0,0 @@
-require 'spec_helper'
-
-describe PhotosController do
-
-  describe "GET 'create'" do
-    it "returns http success" do
-      get 'create'
-      response.should be_success
-    end
-  end
-
-  describe "GET 'destroy'" do
-    it "returns http success" do
-      get 'destroy'
-      response.should be_success
-    end
-  end
-
-end
spec/controllers/search_controller_spec.rb
@@ -4,7 +4,7 @@ describe SearchController do
 
   describe "GET 'index'" do
     it "should be successful" do
-      get 'index'
+      get 'index', {:q => 'blah'}
       response.should be_success
     end
   end