summaryrefslogtreecommitdiff
path: root/features/step_definitions/config_steps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/step_definitions/config_steps.rb')
-rw-r--r--features/step_definitions/config_steps.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/step_definitions/config_steps.rb b/features/step_definitions/config_steps.rb
new file mode 100644
index 0000000..50ae829
--- /dev/null
+++ b/features/step_definitions/config_steps.rb
@@ -0,0 +1,6 @@
+Given /the provider config is:$/ do |config|
+ @tempfile = Tempfile.new('provider.json')
+ @tempfile.write config
+ @tempfile.close
+ StaticConfigController::PROVIDER_JSON = @tempfile.path
+end