Skip to content

Commit a91c040

Browse files
committed
Remove dead code
1 parent 8d4e593 commit a91c040

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

spec/config_rspec.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@
44
RSpec.configure do |config|
55
config.include WaitForAjax, type: :feature
66

7-
if config.respond_to?(:fixture_paths=)
8-
config.fixture_paths = [Rails.root.join('spec', 'fixtures')]
9-
else
10-
config.fixture_path = Rails.root.join('spec', 'fixtures')
11-
end
7+
# Set our fixtures path
8+
config.fixture_paths = File.expand_path('fixtures', __dir__)
129

1310
config.use_transactional_fixtures = false
1411
config.infer_spec_type_from_file_location!

0 commit comments

Comments
 (0)