require File.dirname(__FILE__) + '/../test_helper'

class TableDumperTest < Test::Unit::TestCase
  fixtures :ratings, :users, :comments, :topics, :support_materials, :settings, :readings

  def test_get_data_without_exception
    %w(rating user comment topic support_material comment_reading participant support_material_reading).each do |model|
      assert_nothing_raised("get data for #{model}"){TableDumper::get_data(model)}
    end
  end
end
