Skip to content

Commit

Permalink
Use strings for the table names
Browse files Browse the repository at this point in the history
connection.tables returns an array of strings
  • Loading branch information
rafaelfranca committed Jul 1, 2012
1 parent d441de3 commit 6ebc8ca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12,7 +12,7 @@ def setup


def teardown def teardown
super super
[:artists_musics, :musics_videos, :catalog].each do |table_name| %w(artists_musics musics_videos catalog).each do |table_name|
connection.drop_table table_name if connection.tables.include?(table_name) connection.drop_table table_name if connection.tables.include?(table_name)
end end
end end
Expand Down

0 comments on commit 6ebc8ca

Please sign in to comment.