Sha256: e0d2baeb25f1ab928e62696c732c46587b26d7c496fcea47a44973dde64ae646
Contents?: true
Size: 619 Bytes
Versions: 5
Compression:
Stored size: 619 Bytes
Contents
require 'spec_helper' describe AngularSprinkles::Context do let(:key_generator) { Object.new } let(:constructor) { Object.new } let(:constructor_collection) { Object.new } let(:view_context) { Object.new } subject do described_class.new({ key_generator: key_generator, constructor_collection: constructor_collection, constructor: constructor }) end it 'initializes a context wrapper' do expect(subject.key_generator).to be(key_generator) expect(subject.constructor).to be(constructor) expect(subject.constructor_collection).to be(constructor_collection) end end
Version data entries
5 entries across 5 versions & 1 rubygems