Project

General

Custom queries

Profile

Actions

Bug #11912

closed

Remove deprecated assert_present assert_blank

Added by Daniel Lobato Garcia over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Rails 4.1 deprecates assert_present and assert_blank as per http://guides.rubyonrails.org/4_1_release_notes.html . We don't use these extensively, so we can afford to remove them and use the recommended assert object.present? and assert object.blank?


Related issues 1 (0 open1 closed)

Related to Foreman - Tracker #3157: Rails 4.1 upgrade tasksClosed09/27/2013

Actions

Added by Daniel Lobato Garcia over 9 years ago

Revision 720c2d7f (diff)

Fixes #11912 - Remove deprecated assert_present assert_blank

Rails 4.1 deprecates assert_present and assert_blank as per
http://guides.rubyonrails.org/4_1_release_notes.html . We don't use
these extensively, so we can afford to remove them and use the
recommended assert object.present? and assert object.blank?

Merging this won't introduce any failures on Rails 3 and it will reduce
the diff between the develop and rails 4 branches

Actions

Also available in: Atom PDF