test/finder_test.rb in enumerations-2.1.0 vs test/finder_test.rb in enumerations-2.2.0
- old
+ new
@@ -1,6 +1,6 @@
-require_relative 'test_helper'
+require_relative 'helpers/test_helper'
class FinderTest < Minitest::Test
def test_lookup_by_symbol
status = Status.find(:draft)
@@ -9,15 +9,9 @@
def test_lookup_fail_by_symbol
status = Status.find(:draft)
refute_same :published, status.symbol
- end
-
- def test_lookup_by_string_id
- status = Status.find('1')
-
- assert_equal :draft, status.symbol
end
def test_lookup_by_string_key
status = Status.find('draft')