Merge pull request #1545 from railsaholic/lists_controller_refactor

Remove duplication of action defintion
This commit is contained in:
Sam
2013-10-20 22:19:40 -07:00
2 changed files with 31 additions and 41 deletions
+9
View File
@@ -133,6 +133,15 @@ describe ListController do
end
describe "topics_by" do
let!(:user) { log_in }
it "should respond with a list" do
xhr :get, :topics_by, username: @user.username
response.should be_success
end
end
context "private_messages" do
let!(:user) { log_in }