Sha256: 2c9c5d5b00da15b1bce7305ac576f7f007f7799b3c15a74ee6c9746980bf5880

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

require 'test_helper'

class MappingTest < ActiveSupport::TestCase
  
  undef :test_find_scope_works_with_single_table_inheritance
    
  test 'find scope works with single table inheritance' do
    assert_equal :user, Devise::Mapping.find_scope!(Class.new(User))
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-neo4j-2.0.2 test/overrides/mapping_test.rb
devise-neo4j-2.0.1 test/overrides/mapping_test.rb
devise-neo4j-2.0.0 test/overrides/mapping_test.rb
devise-neo4j-2.0.0.alpha.1 test/overrides/mapping_test.rb