Sha256: 412c39d8d9f3c1d3ec192cb131875af82c5831d13ef5c2fe21c0f563f34d4509

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

if test(?e, $test_integration_setup_guard)

  puts
  puts '*** setup has already run ***'
  puts

else

  testing 'setup' do

    context('migrating') do
      should('allow some basic models to be migrated') do
        models.threadify do |model|
          assert_nothing_raised do
            model.delete_domain rescue nil
            model.create_domain
          end
        end
        require 'time'
        open($test_integration_setup_guard, 'w'){|fd| fd.puts Time.now.iso8601(2)}
      end
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ahoward-helene-0.0.3 test/integration/setup.rb