diff --git a/features/lib/step_definitions/profile_steps.rb b/features/lib/step_definitions/profile_steps.rb
index <HASH>..<HASH> 100644
--- a/features/lib/step_definitions/profile_steps.rb
+++ b/features/lib/step_definitions/profile_steps.rb
@@ -1,5 +1,5 @@
 Given /^the following profiles? (?:are|is) defined:$/ do |profiles|
-  step 'a file named "cucumber.yml" with:', profiles
+  write_file 'cucumber.yml', profiles
 end
 
 Then /^the (.*) profile should be used$/ do |profile|
Use the Aruba API instead of a step in a step def