Skip to content

Commit

Permalink
Fix "sort_link with hide order indicator" spec to fail properly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonatack committed Aug 29, 2015
1 parent 97fc427 commit 4f65b09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/ransack/helpers/form_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ module Helpers
)
}
it { should match /Full Name/ }
it { should_not match /▼|▲/ }
end

describe '#sort_link with hide order indicator set to false' do
Expand Down

0 comments on commit 4f65b09

Please sign in to comment.