mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Mark broken test as pending
This will avoid the broken window effect in our test suite
This commit is contained in:
parent
78bac468e6
commit
5741a8aae5
2 changed files with 4 additions and 0 deletions
|
@ -1188,6 +1188,8 @@ class EagerAssociationTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
test "preloading with a polymorphic association and using the existential predicate" do
|
||||
skip 'broken test'
|
||||
|
||||
assert_equal authors(:david), authors(:david).essays.includes(:writer).first.writer
|
||||
|
||||
assert_nothing_raised do
|
||||
|
|
|
@ -842,6 +842,8 @@ class FinderTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_with_limiting_with_custom_select
|
||||
skip 'broken test' if current_adapter?(:MysqlAdapter)
|
||||
|
||||
posts = Post.references(:authors).merge(
|
||||
:includes => :author, :select => ' posts.*, authors.id as "author_id"',
|
||||
:limit => 3, :order => 'posts.id'
|
||||
|
|
Loading…
Reference in a new issue