Sha256: 46fb3e4dd37b7da0c403d93bd7ad424246a29a0a8680fa6000f78d9b2385ece8
Contents?: true
Size: 369 Bytes
Versions: 23
Compression:
Stored size: 369 Bytes
Contents
require 'spec_helper' describe Krikri::ApplicationHelper, :type => :helper do describe `#local_name` do let(:uri) { 'http://example.org/blah/moomin' } let(:stub) { 'moomin' } it 'splits string' do expect(helper.local_name(uri)).to eq stub end it 'splits URI' do expect(helper.local_name(RDF::URI(uri))).to eq stub end end end
Version data entries
23 entries across 23 versions & 1 rubygems