lib/henry/task/cucumber_task.rb in henry-container-0.1.7 vs lib/henry/task/cucumber_task.rb in henry-container-0.1.8
- old
+ new
@@ -59,10 +59,10 @@
# Returns the miscellaneous cucumber_opts.
#
# @return [String]
def misc_options
- "#{self.data.options['expand'] ? '--expand' : ''}"
+ "#{self.data.options['expand'] ? '--expand' : ''} #{self.data.options['pattern'] ? "--requrie features #{self.data.options['pattern']}" : ''}"
end
# Returns the default cucumber_opts.
#
# @return [String]