From 9b5fa54d9292a78aaea3cabbe35156a22b3260e7 Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Thu, 19 Mar 2015 23:33:52 +0000 Subject: [PATCH] Improved success outputs --- lib/snapshot/snapfile_creator.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/snapshot/snapfile_creator.rb b/lib/snapshot/snapfile_creator.rb index 462c6c4..13cffc3 100644 --- a/lib/snapshot/snapfile_creator.rb +++ b/lib/snapshot/snapfile_creator.rb @@ -12,9 +12,9 @@ def self.create(path) File.write([path, 'snapshot-iPad.js'].join('/'), File.read("#{gem_path}/lib/assets/snapshot.js")) File.write([path, 'SnapshotHelper.js'].join('/'), File.read("#{gem_path}/lib/assets/SnapshotHelper.js")) - puts "Successfully created SnapshotHelper.js '#{[path, 'SnapshotHelper.js'].join('/')}'".green - puts "Successfully created new UI Automation JS file at '#{[path, 'snapshot.js'].join('/')}'".green - puts "Successfully created new UI Automation JS file for iPad at '#{[path, 'snapshot-iPad.js'].join('/')}'".green + puts "Successfully created SnapshotHelper.js '#{File.join(path, 'SnapshotHelper.js')}'".green + puts "Successfully created new UI Automation JS file at '#{File.join(path, 'snapshot.js')}'".green + puts "Successfully created new UI Automation JS file for iPad at '#{File.join(path, 'snapshot-iPad.js')}'".green puts "Successfully created new Snapfile at '#{snapfile_path}'".green end end