Remove call to .blank? and replace with non-rails specific stuff, for when we're running outside of rails (i.e. the test spec)