I saw the postings and the changeset here
(http://dev.rubyonrails.org/changeset/4929) saying assert_tag is
deprecated in favor of the new hotness assert_select, but it was never
actually added to deprecated_assertions.rb. And I can use it just
fine in a test without any warnings. Was that just an oversight or am
I missing something?
I saw the postings and the changeset here
(http://dev.rubyonrails.org/changeset/4929) saying assert_tag is
deprecated in favor of the new hotness assert_select, but it was never
actually added to deprecated_assertions.rb. And I can use it just
fine in a test without any warnings. Was that just an oversight or am
I missing something?
That looks like an oversight, yes. assert_select is the preferred way
of making that kind of assertions now.