Skip to content

Commit 2d2b364

Browse files
committed
Merge pull request #250 from rranelli/remove-require-spec-helper
Remove unnecessary `require 'spec_helper'`
2 parents c85b162 + 3f71c7e commit 2d2b364

File tree

66 files changed

+60
-161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+60
-161
lines changed

.rspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--require spec_helper
2+
--format progress

spec/concurrent/actor_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'spec_helper'
21
require 'concurrent/actor'
32

43
module Concurrent

spec/concurrent/agent_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'spec_helper'
21
require_relative 'dereferenceable_shared'
32
require_relative 'observable_shared'
43

spec/concurrent/async_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'spec_helper'
2-
31
module Concurrent
42

53
describe Async do

spec/concurrent/atomic/atomic_boolean_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'spec_helper'
2-
31
shared_examples :atomic_boolean do
42

53
describe 'construction' do

spec/concurrent/atomic/atomic_fixnum_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'spec_helper'
2-
31
shared_examples :atomic_fixnum do
42

53
context 'construction' do

spec/concurrent/atomic/condition_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'spec_helper'
2-
31
module Concurrent
42

53
describe Condition do
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'spec_helper'
21
require_relative 'observer_set_shared'
32

43
module Concurrent
@@ -7,4 +6,4 @@ module Concurrent
76
it_behaves_like 'an observer set'
87
end
98

10-
end
9+
end
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'spec_helper'
21
require_relative 'observer_set_shared'
32

43
module Concurrent
@@ -7,4 +6,4 @@ module Concurrent
76
it_behaves_like 'an observer set'
87
end
98

10-
end
9+
end

spec/concurrent/atomic/count_down_latch_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require 'spec_helper'
2-
31
shared_examples :count_down_latch do
42

53
let(:latch) { described_class.new(3) }

0 commit comments

Comments
 (0)