Sha256: 363f5d57805e512c726474aab6b1036810f8bfae8acf5888509118b2b567254e

Contents?: true

Size: 302 Bytes

Versions: 31

Compression:

Stored size: 302 Bytes

Contents

RSpec.describe Symphonia::ApplicationHelper do
  let(:entity) { FactoryBot.create :user }
  subject { Symphonia::EntityDecorator.new entity, spy }

  it "#attributes" do
    expect(subject.attributes).to be_a Hash
    expect(subject.attributes[:name]).to include "<a", "mailto", entity.email
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
symphonia-6.0.5 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-6.0.2 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-6.0.1 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-6.0.0 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-5.0.6 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-5.0.5 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-5.0.4 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-5.0.3 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-5.0.0 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.2.0 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.1.3 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.1.2 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.1.1 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.1.0 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.0.1 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-4.0.0 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-3.4.0 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-3.3.4 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-3.3.3 spec/helpers/symphonia/entity_decorator_spec.rb
symphonia-3.3.2 spec/helpers/symphonia/entity_decorator_spec.rb