Sha256: 47fcf0be412f6839a5dcf586deb9cffa092002bd9bbf5e6bfe5450b81ed73a25

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 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

3 entries across 3 versions & 1 rubygems

Version Path
angular_sprinkles-0.2.14 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.13 spec/angular_sprinkles/directive/name_spec.rb
angular_sprinkles-0.2.12 spec/angular_sprinkles/directive/name_spec.rb