|
|
@ -32,11 +32,6 @@ require File.expand_path('../../support/shared/become_member', __FILE__) |
|
|
|
describe News do |
|
|
|
describe News do |
|
|
|
include BecomeMember |
|
|
|
include BecomeMember |
|
|
|
|
|
|
|
|
|
|
|
before do |
|
|
|
|
|
|
|
Project.delete_all |
|
|
|
|
|
|
|
News.delete_all |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let(:project) { |
|
|
|
let(:project) { |
|
|
|
project = FactoryGirl.create(:project) |
|
|
|
project = FactoryGirl.create(:project) |
|
|
|
project.enabled_modules << EnabledModule.new(name: 'news') |
|
|
|
project.enabled_modules << EnabledModule.new(name: 'news') |
|
|
|