We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a07394 commit 4e2aa16Copy full SHA for 4e2aa16
1 file changed
spec/lib/automatic_spec.rb
@@ -3,7 +3,7 @@
3
# Author:: kzgs
4
# 774 <http://id774.net>
5
# Created:: Mar 9, 2012
6
-# Updated:: Jul 30, 2013
+# Updated:: Nov 25, 2013
7
# Copyright:: Copyright (c) 2012-2013 Automatic Ruby Developers.
8
# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
9
@@ -14,13 +14,13 @@
14
describe Automatic do
15
describe "#run" do
16
describe "with a root dir which has default recipe" do
17
- specify {
18
- lambda{
+ subject {
19
Automatic.run(:recipe => "",
20
:root_dir => APP_ROOT,
21
:user_dir => APP_ROOT + "/spec/user_dir")
22
- }.should_not raise_exception(Errno::ENOENT)
23
}
+
+ it { expect { subject }.to raise_error }
24
end
25
26
0 commit comments