spec/configuration_spec.rb in shoes-package-4.0.0.pre6 vs spec/configuration_spec.rb in shoes-package-4.0.0.pre7

- old
+ new

@@ -129,11 +129,11 @@ expect(subject).to be_valid end end context "when osx icon is specified, but doesn't exist" do - let(:options) { ({icons: {osx: "path/to/non-existent/file"}}) } + let(:options) { {icons: {osx: "path/to/non-existent/file"}} } subject { Shoes::Package::Configuration.create options } it "sets osx icon path" do expect(subject.icons[:osx]).to eq("path/to/non-existent/file") end @@ -178,10 +178,10 @@ context "when the file doesn't exist" do it "blows up" do expect do Shoes::Package::Configuration.load('some/bogus/path') - end.to raise_error /No such file or directory/ + end.to raise_error(/No such file or directory/) end end context "with additional gems" do let(:path) { @config_filename }