Sha256: aca304d38f1329d035f1b88415931fce58e5f009fa5479551d8cf1029b31d26c
Contents?: true
Size: 469 Bytes
Versions: 12
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' describe 'Breadcrumble::ActionView' do context '#render_breadcrumbs' do before do helper.stub!(:breadcrumbs).and_return([ { name: 'root_name', url: '/root_url' }, { name: 'test_name', url: '/test_url' } ]) end subject { helper.render_breadcrumbs } it { should match('root_name') } it { should match('root_url') } it { should match('test_name') } it { should match('test_url') } end end
Version data entries
12 entries across 12 versions & 1 rubygems