spec/fontcustom/options_spec.rb in fontcustom-1.3.0.beta vs spec/fontcustom/options_spec.rb in fontcustom-1.3.0.beta2
- old
+ new
@@ -205,11 +205,11 @@
o.options = {
:project_root => fixture,
:config => "fontcustom.yml",
:input => { :vectors => "shared/not-a-dir" }
}
- expect { o.send :set_input_paths }.to raise_error Fontcustom::Error, /should be a directory/
+ expect { o.send :set_input_paths }.to raise_error Fontcustom::Error, /isn't a directory/
end
end
context "when :input is a string" do
it "should return a hash of locations" do
@@ -238,11 +238,11 @@
o.options = {
:project_root => fixture,
:config => "fontcustom.yml",
:input => "shared/not-a-dir"
}
- expect { o.send :set_input_paths }.to raise_error Fontcustom::Error, /should be a directory/
+ expect { o.send :set_input_paths }.to raise_error Fontcustom::Error, /isn't a directory/
end
end
end
context ".set_output_paths" do
@@ -352,10 +352,10 @@
o.options = {
:project_root => fixture,
:config => "fontcustom.yml",
:output => "shared/not-a-dir"
}
- expect { o.send :set_output_paths }.to raise_error Fontcustom::Error, /should be a directory/
+ expect { o.send :set_output_paths }.to raise_error Fontcustom::Error, /isn't a directory/
end
end
end
context ".set_template_paths" do