Sha256: ca63b1323aeee812965dc4c3d8b8c6ee9ff569495fe915344f01dd0093f17943

Contents?: true

Size: 395 Bytes

Versions: 62

Compression:

Stored size: 395 Bytes

Contents

require 'test_helper'

module Workarea
  module Admin
    class EmailSignupsIntegrationTest < Workarea::IntegrationTest
      include Admin::IntegrationTest

      def test_destroy
        signup = create_email_signup

        delete admin.email_signup_path(signup)

        assert_redirected_to(admin.email_signups_path)
        assert_equal(0, Email::Signup.count)
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.13 test/integration/workarea/admin/email_signups_integration_test.rb
workarea-admin-3.4.12 test/integration/workarea/admin/email_signups_integration_test.rb