Skip to content

Commit 7d006d0

Browse files
committed
Update spec_helper.rb
1 parent eb091da commit 7d006d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/spec_helper.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
KnapsackPro::Adapters::RSpecAdapter.bind
66

7+
RSpec.configure do |config|
8+
config.before(:suite) do
9+
puts 'RSpec before(:suite) hook called.'
10+
end
11+
end
12+
713
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
814
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
915
# The generated `.rspec` file contains `--require spec_helper` which will cause
@@ -98,9 +104,3 @@
98104
Kernel.srand config.seed
99105
=end
100106
end
101-
102-
RSpec.configure do |config|
103-
config.before(:suite) do
104-
puts 'RSpec before(:suite) hook called.'
105-
end
106-
end

0 commit comments

Comments
 (0)