Skip to content

Commit

Permalink
Fix NameError: uninitialized constant MediawikiSelenium::RakeTask::Sh…
Browse files Browse the repository at this point in the history
…ellwords

Rake used to require Shellwords, but since v11.2.0 no longer does so.
For more information see ruby/rake#131

Bug: T153202
Change-Id: I2f741e62654a8ef9e6b84f591cc4b0f164e465f9
  • Loading branch information
zeljkofilipin committed Dec 15, 2016
1 parent 261aba1 commit dfb0955
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mediawiki_selenium/rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def initialize(name: :selenium, test_dir: Environment.default_test_directory, si
site = URI.parse(env.lookup(:mediawiki_url)).host
browser_tags = env.browser_tags.map { |tag| "@#{tag}" }.join(',')

require 'shellwords'
options = Shellwords.escape(test_dir)

if workspace
Expand Down

0 comments on commit dfb0955

Please sign in to comment.