From 0f3876dd8c3e554bf2b2b1f0810113b505893b12 Mon Sep 17 00:00:00 2001 From: Julien Biezemans Date: Fri, 15 May 2015 15:54:23 +0200 Subject: [PATCH] Explicitly require json module in Ruby stepdefs --- features/step_definitions/cucumber_js_mappings.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/step_definitions/cucumber_js_mappings.rb b/features/step_definitions/cucumber_js_mappings.rb index 2b61871e8..4233ac578 100644 --- a/features/step_definitions/cucumber_js_mappings.rb +++ b/features/step_definitions/cucumber_js_mappings.rb @@ -1,3 +1,5 @@ +require 'json' + module CucumberJsMappings STEP_DEFINITIONS_FILE = "features/step_definitions/cucumber_steps.js" COFFEE_SCRIPT_DEFINITIONS_FILE = "features/step_definitions/cucumber_steps.coffee"