1
0
Fork 0
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:
Jon Atack 2015-08-29 19:46:44 +02:00
parent 97fc4273e2
commit 4f65b091b0

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