behave 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/behave.rb +2 -2
- data/lib/behave/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/behave.rb
CHANGED
|
@@ -12,7 +12,7 @@ module Behave
|
|
|
12
12
|
attr_accessor :host, :user, :pass, :key, :dir, :manual, :contents
|
|
13
13
|
|
|
14
14
|
def initialize(args)
|
|
15
|
-
@dir = "
|
|
15
|
+
@dir = "features/"
|
|
16
16
|
@manual = false
|
|
17
17
|
args.each do |k,v|
|
|
18
18
|
instance_variable_set("@#{k}", v) unless v.nil? or k == 'contents'
|
|
@@ -145,7 +145,7 @@ module Behave
|
|
|
145
145
|
end
|
|
146
146
|
|
|
147
147
|
opts.on("-d", "--directory [DIR]",
|
|
148
|
-
"Specify output directory (default '
|
|
148
|
+
"Specify output directory (default 'features')") do |dir|
|
|
149
149
|
dir << '/' unless dir[-1,1] == '/'
|
|
150
150
|
map["dir"] = dir
|
|
151
151
|
end
|
data/lib/behave/version.rb
CHANGED