Sha256: 543f8f99c59dd028c56edc57db44464cf88c2a261fbd6e855ffa1e691db7bd3d
Contents?: true
Size: 406 Bytes
Versions: 4
Compression:
Stored size: 406 Bytes
Contents
require 'spec_helper' describe AngularSprinkles::Data::Bind do let(:keys) { [:brewhouse, :software] } let(:object) { AngularSprinkles::Data::Bind.new(*keys) } it 'returns the concatenation of the two keys' do expect(object.to_json).to eq("#{AngularSprinkles::CONTROLLER_NAME}.#{keys.join('.')}") expect(object.to_s).to eq("#{AngularSprinkles::CONTROLLER_NAME}.#{keys.join('.')}") end end
Version data entries
4 entries across 4 versions & 1 rubygems