Some test improvements
This commit is contained in:
parent
d5d4adb2f9
commit
f183bd8ec8
3 changed files with 20 additions and 18 deletions
|
@ -1,8 +1,9 @@
|
|||
require 'test_helper'
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
|
||||
class CountryTest < ActiveSupport::TestCase
|
||||
# Replace this with your real tests.
|
||||
test "the truth" do
|
||||
assert true
|
||||
fixtures :countries
|
||||
|
||||
test "country count" do
|
||||
assert_equal 2, Country.count
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
require 'test_helper'
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
|
||||
class LanguageTest < ActiveSupport::TestCase
|
||||
# Replace this with your real tests.
|
||||
test "the truth" do
|
||||
assert true
|
||||
test "language count" do
|
||||
assert_equal 2, Language.count
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue