Browse files

Spec: Update for change in examples/ directory

  • Loading branch information...
1 parent aca6aec commit a1fbe45973f27bba0c38895993a3d5c550ee46cd @runpaint committed May 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/shared/chapter_page.rb
View
2 spec/shared/chapter_page.rb
@@ -69,7 +69,7 @@ def raises(file)
it "does not contain figures that unexpectedly raise exceptions" do
@page.parser.css('figure[id]').each do |fig|
next unless fig['id'].end_with?('.rb')
- file = "figures/#{fig['id']}"
+ file = "examples/#{fig['id']}"
if ex = raises(file) and not File.read(file).include?(ex.to_s)
if ex == TimeoutError
File.should exist("timeouts/#{File.basename fig['id']}")

0 comments on commit a1fbe45

Please sign in to comment.