Sha256: eeb5bacdc48889422748aa5f312deb51ae48dce01216d2cd9374b675bc73e7c1

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

class DumpTest < Test::Unit::TestCase
  test "dump properly" do
    dump = Aura.db_dump
    assert dump.is_a?(Hash)
    assert dump.keys.include?(:settings)
    assert dump.keys.include?(:pages)

    require 'yaml'
    yml = YAML::dump(dump)
    assert_equal yml, Aura.db_dump_yaml
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 test/unit/dump_test.rb