File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ def test_create_join_table_with_strings
35
35
assert_equal %w( artist_id music_id ) , connection . columns ( :artists_musics ) . map ( &:name ) . sort
36
36
end
37
37
38
+ def test_create_join_table_with_symbol_and_string
39
+ connection . create_join_table :artists , 'musics'
40
+
41
+ assert_equal %w( artist_id music_id ) , connection . columns ( :artists_musics ) . map ( &:name ) . sort
42
+ end
43
+
38
44
def test_create_join_table_with_the_proper_order
39
45
connection . create_join_table :videos , :musics
40
46
Original file line number Diff line number Diff line change @@ -755,11 +755,4 @@ def test_copying_migrations_to_empty_directory
755
755
ensure
756
756
clear
757
757
end
758
-
759
- def test_create_join_table_with_symbol_and_string
760
- connection . create_join_table :artists , 'musics'
761
-
762
- assert_equal %w( artist_id music_id ) , connection . columns ( :artists_musics ) . map ( &:name ) . sort
763
- end
764
-
765
758
end
You can’t perform that action at this time.
0 commit comments