File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ namespace :test do
35
35
task :unit
36
36
RSpec ::Core ::RakeTask . new ( :unit ) do |t |
37
37
t . pattern = 'spec/unit/**/*_spec.rb'
38
- t . ruby_opts = '-W0'
39
38
end
40
39
41
40
desc 'Run unit and integration tests'
@@ -52,7 +51,6 @@ namespace :test do
52
51
desc 'Run Integration tests'
53
52
RSpec ::Core ::RakeTask . new ( :integration ) do |t |
54
53
t . pattern = 'spec/integration/**/*_spec.rb'
55
- t . ruby_opts = '-W0'
56
54
end
57
55
58
56
# This is the task to run the Elasticsearch REST tests which we stopped using for 9.x.
Original file line number Diff line number Diff line change 17
17
18
18
require 'spec_helper'
19
19
require 'hashie'
20
+ require 'hashie/logger'
21
+ Hashie . logger = Logger . new ( nil )
20
22
21
23
describe 'Hashie' do
22
-
23
24
let ( :json ) do
24
25
<<-JSON
25
26
{
79
80
end
80
81
81
82
let ( :response ) do
82
- Hashie ::Mash . new MultiJson . load ( json )
83
+ Hashie ::Mash . new ( MultiJson . load ( json ) )
83
84
end
84
85
85
86
it 'wraps the response' do
You can’t perform that action at this time.
0 commit comments