Sha256: cdfcd60cc5061e2c206fe93af44534397e04022a8e8b94cd91082564a5612fa0
Contents?: true
Size: 648 Bytes
Versions: 4
Compression:
Stored size: 648 Bytes
Contents
require 'spec_helper' include Gitter describe Grid do it 'should handle one breadcrumb' do g = PersonGrid.new :name => 'bla' g.breadcrumbs.should == { 'Name' => 'bla' } end it 'should handle breadcrumb with label' do g = PersonGrid.new :name3 => 'bla' g.breadcrumbs.should == { 'Three' => 'bla' } end it 'should handle many breadcrumbs' do g = PersonGrid.new :name => 'Mike', :surname => 'Miller' g.breadcrumbs.should == { 'Name' => 'Mike', 'Surname' => 'Miller' } g = PersonGrid.new :surname => 'Miller', :name => 'Mike' g.breadcrumbs.should == { 'Surname' => 'Miller', 'Name' => 'Mike' } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gitter-1.1.6 | spec/breadcrumbs_spec.rb |
gitter-1.1.5 | spec/breadcrumbs_spec.rb |
gitter-1.1.4 | spec/breadcrumbs_spec.rb |
gitter-1.1.3 | spec/breadcrumbs_spec.rb |