Sha256: 8643994914b4bf1e8684d6e480d5096905a7e81eda4f5c776ee1129d07e0db17

Contents?: true

Size: 349 Bytes

Versions: 9

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe Decidim::Comments::CommentCreatedEvent do
  describe "types" do
    subject { described_class }

    it "supports notifications" do
      expect(subject.types).to include :notification
    end

    it "supports emails" do
      expect(subject.types).to include :email
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-0.6.8 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.7 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.6 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.5 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.4 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.3 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.2 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.1 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb
decidim-0.6.0 decidim-comments/spec/events/decidim/comments/comment_created_event_spec.rb