Skip to content

Instantly share code, notes, and snippets.

@oleander
Created June 22, 2011 13:05
Show Gist options
  • Select an option

  • Save oleander/1040046 to your computer and use it in GitHub Desktop.

Select an option

Save oleander/1040046 to your computer and use it in GitHub Desktop.
it "should find the first spread if that's before" do
prev = Spread.previous(Spread.find(@book, 2))
prev.left.should == @pages[0]
prev.right.should == @pages[0]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment