style intro page, ignore artist tags in Tag.trending, set root page to explore/posts/intro

This commit is contained in:
r888888888
2013-07-02 15:00:50 -07:00
parent 5082c9ef8c
commit 2cfc5c296c
4 changed files with 40 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
require "test_helper"
module Explore
class PostsControllerTest < ActionController::TestCase
context "in all cases" do
setup do
CurrentUser.user = FactoryGirl.create(:user)
CurrentUser.ip_addr = "127.0.0.1"
FactoryGirl.create(:post)
end
context "#popular" do
should "render" do
get :popular
assert_response :success
end
end
context "#intro" do
should "render" do
get :intro
assert_response :success
end
end
end
end
end