spec/scanner_spec.rb in rock_config-0.0.1 vs spec/scanner_spec.rb in rock_config-0.0.2
- old
+ new
@@ -13,10 +13,10 @@
let(:fixtures_path) { File.join(Dir.pwd, "spec", "fixtures") }
it "finds nothing when the target doesnt exist" do
expect do
scanner.find("database")
- end.to raise_error(ConfigNotFound)
+ end.to raise_error(ConfigNotFoundError)
end
it "scans additional directories" do
configuration.scanned_directories << fixtures_path
scanner.find("database").should_not be_nil