Skip to content

Commit 4e2aa16

Browse files
committed
#62 Correspond to rspec 2.14
1 parent 3a07394 commit 4e2aa16

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

spec/lib/automatic_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Author:: kzgs
44
# 774 <http://id774.net>
55
# Created:: Mar 9, 2012
6-
# Updated:: Jul 30, 2013
6+
# Updated:: Nov 25, 2013
77
# Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
88
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
99

@@ -14,13 +14,13 @@
1414
describe Automatic do
1515
describe "#run" do
1616
describe "with a root dir which has default recipe" do
17-
specify {
18-
lambda{
17+
subject {
1918
Automatic.run(:recipe => "",
2019
:root_dir => APP_ROOT,
2120
:user_dir => APP_ROOT + "/spec/user_dir")
22-
}.should_not raise_exception(Errno::ENOENT)
2321
}
22+
23+
it { expect { subject }.to raise_error }
2424
end
2525
end
2626

0 commit comments

Comments
 (0)