Sha256: 4d6e1a686507bf90552841971c0e64dc2b7594604b5f536bbabf5827be9e628d

Contents?: true

Size: 295 Bytes

Versions: 21

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'

describe AngularSprinkles::Directive::Html do
  let(:args) { { key: 'value', tag: 'a' } }

  subject { described_class.new(args) }

  it 'returns the args as they were' do
    expect(subject.attributes).to eq({ key: 'value' })
    expect(subject.tag).to eq('a')
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
angular_sprinkles-0.2.14 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.13 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.12 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.11 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.10 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.9 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.8 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.7 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.6 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.5 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.4 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.3 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.2 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.1 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.2.0 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.1.1 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.1.0 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.0.9 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.0.8 spec/angular_sprinkles/directive/html_spec.rb
angular_sprinkles-0.0.7 spec/angular_sprinkles/directive/html_spec.rb