Sha256: 64f99e55a8429074695daa2077f768d8de3a15d68c818c4074f61c5da90fe43c

Contents?: true

Size: 303 Bytes

Versions: 19

Compression:

Stored size: 303 Bytes

Contents

require 'spec_helper'

describe AngularSprinkles::Directive::Name do
  let(:args) { [:first, :second, :third] }

  subject { described_class.new(args) }

  it 'turns the args hash into an empty data hash' do
    expect(subject.attributes).to eq({ data: { first: '', second: '', third: '' } })
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
angular_sprinkles-0.2.11 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.10 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.9 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.8 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.7 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.6 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.5 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.4 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.3 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.2 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.1 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.0 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.1.1 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.1.0 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.0.9 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.0.8 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.0.7 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.0.6 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.0.5 spec/angular_sprinkles/directive/name_spec.rb