spec/presenter_spec.rb in keynote-0.2.0pre3 vs spec/presenter_spec.rb in keynote-0.2.0
- old
+ new
@@ -165,15 +165,15 @@
it "should raise unknown methods at the presenter, not the view" do
err = nil
begin
- TestPresenter.new(Object.new).talking(:heads)
+ Keynote::Presenter.new(Object.new).talking(:heads)
rescue NoMethodError => e
err = e
end
err.wont_be_nil
- err.message.must_match /#<Keynote::Presenter/
+ err.message.must_match /Keynote::Presenter/
end
end
end