Allow use of Cucumber 2.1 or greater

This commit is contained in:
Parker Moore 2015-11-24 16:27:16 -08:00
parent d7bac8cc40
commit 8a09418083
2 changed files with 2 additions and 4 deletions

View File

@ -12,7 +12,7 @@ end
group :test do
gem 'redgreen', '~> 1.2'
gem 'shoulda', '~> 3.5'
gem 'cucumber', '~> 2.0', '< 2.1'
gem 'cucumber', '~> 2.1'
gem 'simplecov', '~> 0.9'
gem 'jekyll_test_plugin'
gem 'jekyll_test_plugin_malicious'

View File

@ -2,7 +2,6 @@ require 'fileutils'
require 'colorator'
require 'cucumber/formatter/console'
require 'cucumber/formatter/io'
require 'gherkin/formatter/escaping'
module Features
module Support
@ -17,12 +16,11 @@ module Features
include FileUtils
include Cucumber::Formatter::Console
include Cucumber::Formatter::Io
include Gherkin::Formatter::Escaping
attr_writer :indent
attr_reader :runtime
def initialize(runtime, path_or_io, options)
@runtime, @io, @options = runtime, ensure_io(path_or_io, "pretty"), options
@runtime, @io, @options = runtime, ensure_io(path_or_io), options
@exceptions = []
@indent = 0
@prefixes = options[:prefixes] || {}