Skip to content

Commit

Permalink
Merge pull request activeadmin#2830 from YETI-switch/master
Browse files Browse the repository at this point in the history
fix expect value in filter_form_builder_spec
  • Loading branch information
seanlinsley committed Dec 28, 2013
2 parents aba48de + c4156f7 commit 5e4fe26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/filters/filter_form_builder_spec.rb
Expand Up @@ -378,7 +378,7 @@ def view.a_helper_method

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

Expand Down

0 comments on commit 5e4fe26

Please sign in to comment.