Load language fixtures before running the language tests
authorTom Hughes <tom@compton.nu>
Sun, 22 Feb 2015 19:26:53 +0000 (19:26 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 22 Feb 2015 19:26:53 +0000 (19:26 +0000)
test/models/language_test.rb

index ac79b3a9da7984087b0d5f155ebec5c55cbd9cff..39e3f017b185a0e2447ce61389958482ea392927 100644 (file)
@@ -1,6 +1,8 @@
 require "test_helper"
 
 class LanguageTest < ActiveSupport::TestCase
+  fixtures :languages
+
   test "language count" do
     assert_equal 3, Language.count
   end