diff --git a/app/views/docs/plugins/_index.html.erb b/app/views/docs/plugins/_index.html.erb
index 9a29fbd..7f00fc6 100644
--- a/app/views/docs/plugins/_index.html.erb
+++ b/app/views/docs/plugins/_index.html.erb
@@ -1,3 +1,4 @@
+
<%= render 'response' %>
-
List My Plugins
+ List My Plugins
diff --git a/config/routes.rb b/config/routes.rb
index 9cb1490..2cd8597 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -127,7 +127,7 @@ Thingspeak::Application.routes.draw do
collection do
get 'private_plugins'
get 'public_plugins'
- get 'public'
+ #get 'public'
end
end
diff --git a/spec/controllers/plugins_controller_spec.rb b/spec/controllers/plugins_controller_spec.rb
index b993af9..8ddba45 100644
--- a/spec/controllers/plugins_controller_spec.rb
+++ b/spec/controllers/plugins_controller_spec.rb
@@ -20,23 +20,23 @@ describe PluginsController do
end
describe "Not Logged In" do
- it "should display public plugins" do
- get :public
- response.should render_template('public')
- end
+ #it "should display public plugins" do
+ # get :public
+ # response.should render_template('public')
+ #end
- it "should show paginated list of public plugins as json" do
- @plugin.update_column(:public_flag, true)
- get :public, :format => :json
- JSON.parse(response.body).keys.include?('pagination').should be_true
- JSON.parse(response.body)['plugins'].length.should eq(1)
- end
+ #it "should show paginated list of public plugins as json" do
+ # @plugin.update_column(:public_flag, true)
+ # get :public, :format => :json
+ # JSON.parse(response.body).keys.include?('pagination').should be_true
+ # JSON.parse(response.body)['plugins'].length.should eq(1)
+ #end
- it "should not show private plugins" do
- @plugin.update_column(:public_flag, false)
- get :public, :format => :json
- JSON.parse(response.body)['plugins'].length.should eq(0)
- end
+ #it "should not show private plugins" do
+ # @plugin.update_column(:public_flag, false)
+ # get :public, :format => :json
+ # JSON.parse(response.body)['plugins'].length.should eq(0)
+ #end
end
describe "API" do