Sha256: 10a0fb62d5f588a06bad9abba893393bd06ae4715bea1dc4d83d5fac0651c0f9

Contents?: true

Size: 281 Bytes

Versions: 8

Compression:

Stored size: 281 Bytes

Contents

require "spec_helper"

describe Emites::Entities::Webhook do
  let(:attributes) do
    {
      name: "RSpec Subject",
      url:  "http://requestb.in/1mayrfq1"
    }
  end

  subject { described_class.new(attributes) }

  it_behaves_like "entity_attributes", [:id, :name, :url]
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
emites-client-0.1.4 spec/emites/entities/webhook_spec.rb
emites-client-0.1.3 spec/emites/entities/webhook_spec.rb
emites-client-0.1.2 spec/emites/entities/webhook_spec.rb
emites-client-0.1.1 spec/emites/entities/webhook_spec.rb
emites-client-0.1.0 spec/emites/entities/webhook_spec.rb
emites-client-0.0.4 spec/emites/entities/webhook_spec.rb
emites-client-0.0.3 spec/emites/entities/webhook_spec.rb
emites-client-0.0.2 spec/emites/entities/webhook_spec.rb