diff --git a/lib/zeus/parallel_tests/version.rb b/lib/zeus/parallel_tests/version.rb index 51b01f1..f7d7d2a 100644 --- a/lib/zeus/parallel_tests/version.rb +++ b/lib/zeus/parallel_tests/version.rb @@ -1,5 +1,5 @@ module Zeus module ParallelTests - VERSION = '0.3.1' + VERSION = '0.3.1'.freeze end end diff --git a/spec/dummy/Guardfile b/spec/dummy/Guardfile index 629e478..22a2876 100644 --- a/spec/dummy/Guardfile +++ b/spec/dummy/Guardfile @@ -19,5 +19,5 @@ guard 'rspec', zeus: true, parallel: true do # Turnip features and steps watch(%r{^spec/acceptance/(.+)\.feature$}) - watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' } + watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'spec/acceptance' } end diff --git a/spec/dummy/config.ru b/spec/dummy/config.ru index 1989ed8..cbd7415 100644 --- a/spec/dummy/config.ru +++ b/spec/dummy/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. -require ::File.expand_path('../config/environment', __FILE__) +require ::File.expand_path('../config/environment', __FILE__) run Dummy::Application diff --git a/spec/dummy/config/environments/test.rb b/spec/dummy/config/environments/test.rb index f7d264b..904d888 100644 --- a/spec/dummy/config/environments/test.rb +++ b/spec/dummy/config/environments/test.rb @@ -22,7 +22,7 @@ config.action_dispatch.show_exceptions = false # Disable request forgery protection in test environment - config.action_controller.allow_forgery_protection = false + config.action_controller.allow_forgery_protection = false # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the diff --git a/spec/dummy/script/rails b/spec/dummy/script/rails index f8da2cf..bd79dce 100755 --- a/spec/dummy/script/rails +++ b/spec/dummy/script/rails @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application. -APP_PATH = File.expand_path('../../config/application', __FILE__) -require File.expand_path('../../config/boot', __FILE__) +APP_PATH = File.expand_path('../../config/application', __FILE__) +require File.expand_path('../../config/boot', __FILE__) require 'rails/commands' diff --git a/spec/lib/zeus/parallel_tests/worker_spec.rb b/spec/lib/zeus/parallel_tests/worker_spec.rb index 358e3fb..4c6d2f6 100644 --- a/spec/lib/zeus/parallel_tests/worker_spec.rb +++ b/spec/lib/zeus/parallel_tests/worker_spec.rb @@ -6,7 +6,7 @@ let(:cli_env) { { 'TEST_ENV_NUMBER' => '3' } } let(:worker) { double('worker', spawn: 0) } before { allow(Zeus::ParallelTests::Worker).to receive_messages(new: worker) } - subject { Zeus::ParallelTests::Worker.run(cli_argv, cli_env) } + subject { Zeus::ParallelTests::Worker.run(cli_argv, cli_env) } it 'creates instance of worker' do expect(Zeus::ParallelTests::Worker).to receive(:new)