RSpec Code Examples

 

 

Keydown::Slide without a CSS classname
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide without a CSS classname when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
Keydown::Slide with a single CSS classname
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide with a single CSS classname when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
Keydown::Slide with multiple CSS classnames
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide with multiple CSS classnames generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
Keydown::Slide without a note
should set the CSS classnames
should extract the slide content
Keydown::Slide without a note when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
Keydown::Slide with code to higlight using the Slidedown syntax
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide with code to higlight using the Slidedown syntax when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
should colorize the code fragments
Keydown::Slide with code to higlight using the Github markup syntax
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide with code to higlight using the Github markup syntax when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
should colorize the code fragments
Keydown::Slide with an image for a full-bleed background
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide with an image for a full-bleed background when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
should remove any declaration of a background image
should save off the background image info for use when generating the HTML
should add the full-background class to the containing div
should add the background image class to the containing div
Keydown::Slide with an image for a full-bleed background with a Flickr attribution
should set the CSS classnames
should extract the slide content
should remove the notes from the content
should extract the notes
Keydown::Slide with an image for a full-bleed background with a Flickr attribution when generating HTML
should assign the classname(s) to the section
should convert the content via Markdown
should not include the notes in the HTML
should remove any declaration of a background image
should save off the background image info for use when generating the HTML
should add the full-background class to the containing div
should add the background image class to the containing div
Keydown::Slide with an image for a full-bleed background with a Flickr attribution when generating HTML it makes an attribution element that
should have the specified CSS class
should have the specified text
should have the specified link
Keydown::SlideDeck with a title when building slides
should find the document's title
should find all the slides in the markdown
Keydown::SlideDeck with a title when generating HTML
should set the document's title
should generate the correct number of slides
should set the CSS classnames of each slide
Keydown::SlideDeck with a background image when building slides
should find the document's title
should find all the slides in the markdown
Keydown::SlideDeck with a background image when generating HTML
should add the full-bleed background CSS classname to any slide that specifies a background
should add a custom classname to a slide that specifies a background
Keydown generate command
should generate a directory for the presentation
should generate a sample Markdown file
should create the support directories for the presentation
should copy the HTML5 Rocks default CSS file
should copy the HTML5 Rocks default JS file
Keydown `slides` when file cannot be found
should warn the user
should not write out a file
Keydown `slides` with defaults should generate an html file that
should have the correct file name
should set the document's title
should generate the correct number of slides
should include the HTML5 Rocks CSS only once
should include the HTML5 Rocks JavaScript only once
Keydown `slides` with defaults should generate an html file that should have one slide that
should have the correct css class(es)
should have the correct content
Keydown `slides` with defaults should add an .md extention if one isn't specified
should have the correct file name
should set the document's title
should generate the correct number of slides
should include the HTML5 Rocks CSS only once
should include the HTML5 Rocks JavaScript only once
Keydown `slides` with directory tree with custom CSS & JS
should have the correct file name
should set the document's title
should generate the correct number of slides
should include the HTML5 Rocks CSS only once
should include the HTML5 Rocks JavaScript only once
should include any custom CSS file from the css directory
should include any custom JavaScript files from the js directory
Keydown `slides` for a presentation that has background images
should have the correct file name
should set the document's title
should generate the correct number of slides
should include the HTML5 Rocks CSS only once
should include the HTML5 Rocks JavaScript only once
should add the keydown.css file (which has the backgrounds) to the css directory
should add the keydown.css file to the HTML file