test/mailers/confirmation_instructions_test.rb in devise-3.5.1 vs test/mailers/confirmation_instructions_test.rb in devise-3.5.2

- old
+ new

@@ -84,10 +84,10 @@ test 'body should have link to confirm the account' do host, port = ActionMailer::Base.default_url_options.values_at :host, :port if mail.body.encoded =~ %r{<a href=\"http://#{host}:#{port}/users/confirmation\?confirmation_token=([^"]+)">} - assert_equal Devise.token_generator.digest(user.class, :confirmation_token, $1), user.confirmation_token + assert_equal $1, user.confirmation_token else flunk "expected confirmation url regex to match" end end