fixes build

This commit is contained in:
Juanjo Bazán
2015-10-03 13:12:15 +02:00
parent 78c186242f
commit b9275f1ddd
2 changed files with 1 additions and 7 deletions

View File

@@ -42,16 +42,10 @@ feature 'Stats' do
end
scenario 'Users' do
Administrator.destroy_all
User.all.map(&:really_destroy!)
1.times { create(:user, :level_three) }
2.times { create(:user, :level_two) }
3.times { create(:user) }
admin = create(:administrator)
login_as(admin.user)
visit admin_stats_path
expect(page).to have_content "Level three users 1"