Fix "sort_link with hide order indicator" spec to fail properly

This regression test, added in #473, tested the presence of the
attribute name instead of the absence of the order indicators and would
never fail.

Josh Hunter / Jon Atack.
This commit is contained in:
Jon Atack 2015-08-29 19:46:44 +02:00
parent 97fc4273e2
commit 4f65b091b0
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ module Ransack
)
}
it { should match /Full Name/ }
it { should_not match /▼|▲/ }
end
describe '#sort_link with hide order indicator set to false' do