diff --git a/spec/acceptance/statistics_spec.rb b/spec/acceptance/statistics_spec.rb
index 0097f6504ec6db9bed9ef937e2e676fb091429e2..9a9ae0ca7aec0536f4f8a50467a9fc926690896c 100644
--- a/spec/acceptance/statistics_spec.rb
+++ b/spec/acceptance/statistics_spec.rb
@@ -2,11 +2,12 @@ require 'acceptance_helpers'
 require 'shared/contexts'
 
 resource 'Statistics' do
+  before { 12.times { create(:learning_object) } }
 
 	explanation "Statistics about the system usage (total number of published learning objects, 
 								number of learning objects published in a month and number of learning objects downloaded in a month)"
 
-  before { 12.times { create(:learning_object); create(:user) } }
+  let(:learning_objects) { LearningObject.all }
 
   get '/v1/statistics' do
     example 'Showing plataform statistics' do