Sha256: 6bbc970c0784b1440421224125300babb8b8b2c1b293ce0123c265534af3bf9c
Contents?: true
Size: 494 Bytes
Versions: 17
Compression:
Stored size: 494 Bytes
Contents
require 'spec_helper' describe AngularSprinkles::Directive::Attributes do let(:something) { double(attributes: {}) } let(:name) { something } let(:input) { something } let(:options) { something } let(:content) { 'content' } let(:tag) { :div } subject do described_class.new([name, input, options], content: content, tag: tag) end it 'returns the list of arguments required for the content_tag' do expect(subject.to_content_tag).to eq([tag, content, {}]) end end
Version data entries
17 entries across 17 versions & 1 rubygems