Load user_roles fixtures so we know who is an administrator
authorTom Hughes <tom@compton.nu>
Sun, 22 Feb 2015 19:44:31 +0000 (19:44 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 22 Feb 2015 19:44:31 +0000 (19:44 +0000)
test/controllers/diary_entry_controller_test.rb

index 333be0c64332268c869cb4917289e37fcd6422ee..62589a65b89669844a272dfdbb70b637ddd9e0c5 100644 (file)
@@ -1,7 +1,7 @@
 require "test_helper"
 
 class DiaryEntryControllerTest < ActionController::TestCase
-  fixtures :users, :diary_entries, :diary_comments, :languages
+  fixtures :users, :user_roles, :diary_entries, :diary_comments, :languages
 
   include ActionView::Helpers::NumberHelper