@ -35,9 +35,6 @@ describe News::CommentsController do
let(:news) { FactoryGirl.create(:news) }
before do
User.delete_all
News.delete_all
User.stubs(:current).returns user
end
@ -38,10 +38,6 @@ describe NewsController do
Project.delete_all
@ -32,11 +32,6 @@ require File.expand_path('../../support/shared/become_member', __FILE__)
describe News do
include BecomeMember
let(:project) {
project = FactoryGirl.create(:project)
project.enabled_modules << EnabledModule.new(name: 'news')