Skip to content

Commit 5e4fe26

Browse files
committed
Merge pull request activeadmin#2830 from YETI-switch/master
fix expect value in filter_form_builder_spec
2 parents aba48de + c4156f7 commit 5e4fe26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/filters/filter_form_builder_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def view.a_helper_method
378378

379379
it "should NOT be displayed if false" do
380380
body = filter :author, if: proc{false}
381-
expect(body).to_not have_tag "input", attributes: {name: "q[author_id_eq]"}
381+
expect(body).to_not have_tag "select", attributes: {name: "q[author_id_eq]"}
382382
end
383383
end
384384

0 commit comments

Comments
 (0)