spec/macros4cuke/application_spec.rb in macros4cuke-0.5.15 vs spec/macros4cuke/application_spec.rb in macros4cuke-0.5.16
- old
+ new
@@ -70,11 +70,11 @@
make_dirs
file_path = './test_dir/features/support'
file_name = 'use_macros4cuke.rb'
- subject.run!(%w(--setup ./test_dir))
+ subject.run!(%w[--setup ./test_dir])
expect(File.exist?(file_path + '/' + file_name)).to be true
File.delete(file_path + '/' + file_name)
delete_dirs(file_path)
end
@@ -82,10 +82,10 @@
it 'should complain when the support file already exists' do
make_dirs
file_path = '/test_dir/features/support'
file_name = 'use_macros4cuke.rb'
- args = %w(--setup ./test_dir)
+ args = %w[--setup ./test_dir]
mydir = File.dirname(__FILE__)
expect { subject.run!(args) }.not_to raise_error
hijack_stderr