mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
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:
parent
97fc4273e2
commit
4f65b091b0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue