Sha256: 71a25765bc2b658f6ed06b998545dc31122a0b376dd5b74b27c938a05c4e9078

Contents?: true

Size: 480 Bytes

Versions: 8

Compression:

Stored size: 480 Bytes

Contents

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

unit_tests do
  test "not connected to normal test or development database under deep_test" do
    current_database = ActiveRecord::Base.connection.current_database
    if defined?(DeepTest)
      assert_not_equal "sample_rails_project_development", current_database
      assert_not_equal "sample_rails_project_test", current_database
    else
      assert_equal "sample_rails_project_test", current_database
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jstorimer-deep-test-2.0.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-1.4.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-1.3.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-1.2.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-1.1.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-1.0.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-0.2.0 sample_rails_project/test/unit/database_connection_test.rb
jstorimer-deep-test-0.1.0 sample_rails_project/test/unit/database_connection_test.rb