Skip to content

Commit

Permalink
Quotes table name in count_all method in integration_helper
Browse files Browse the repository at this point in the history
  • Loading branch information
spickermann committed Jan 9, 2014
1 parent 3f04bce commit b93b49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/integration_helper.rb
Expand Up @@ -131,7 +131,7 @@ def count(table, column, value)
end

def count_all(table)
query = "select count(*) from #{ table }"
query = "select count(*) from `#{ table }`"
select_value(query).to_i
end

Expand Down

0 comments on commit b93b49d

Please sign in to comment.