Skip to content

Commit

Permalink
Dump vars for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Jun 22, 2014
1 parent 490f976 commit 7827d6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/rendering_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
it 'decorates locals' do
map = Map.new(['Rome', 'Cambridge'])

puts Dashboard::Index.template
puts Dashboard::Index.send(:registry).inspect
puts Dashboard::Index.layout.inspect
puts Dashboard::Index.layout.registry.inspect
rendered = Dashboard::Index.render(format: :html, map: map)
rendered.must_match %(<h1>Map</h1>)
rendered.must_match %(<h2>2 locations</h2>)
Expand Down

0 comments on commit 7827d6d

Please sign in to comment.