Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed Jul 24, 2009
1 parent 4d2f051 commit 27ebace
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_slidedown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
|# The title
|!SLIDE
MD
Nokogiri::HTML(slidedown.render).at('h1').should.not.be.nil
Nokogiri::HTML(slidedown.render('default')).at('h1').should.not.be.nil
end

it 'adds class names to slides' do
Expand All @@ -29,7 +29,7 @@
|!SLIDE awesome
|# The title
MD
second_slide = Nokogiri::HTML(slidedown.render).search('#track > div')[1]
second_slide = Nokogiri::HTML(slidedown.render('default')).search('#track > div')[1]
second_slide['class'].should.include('awesome')
end

Expand All @@ -40,7 +40,7 @@
| (function() { })();
|@@@
MD
# slidedown.render
Nokogiri(slidedown.render).at('.highlight.js').should.not.be.nil
# slidedown.render('default')
Nokogiri(slidedown.render('default')).at('.highlight.js').should.not.be.nil
end
end

0 comments on commit 27ebace

Please sign in to comment.