spec/ztk/locator_spec.rb in ztk-1.1.0 vs spec/ztk/locator_spec.rb in ztk-1.1.1
- old
+ new
@@ -32,15 +32,15 @@
describe "methods" do
describe "#find" do
- it "should find root" do
- subject.find("root").should == "/root"
- end
-
it "should find home" do
subject.find("home").should == "/home"
+ end
+
+ it "should not find funkytown_123_abc" do
+ lambda { subject.find("funkytown_123_abc") }.should raise_error ZTK::LocatorError
end
end
end