Commit 622e0242
Changed files (2)
spec
controllers
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