Package: ruby-multi-json / 1.12.1-1

disable_non_oj_tests Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Index: ruby-multi-json/spec/multi_json_spec.rb
===================================================================
--- ruby-multi-json.orig/spec/multi_json_spec.rb
+++ ruby-multi-json/spec/multi_json_spec.rb
@@ -67,12 +67,12 @@ describe MultiJson do
     expect(MultiJson.adapter).to eq(MultiJson::Adapters::OkJson)
   end
 
-  it 'is settable via a symbol' do
+  xit 'is settable via a symbol' do
     MultiJson.use :json_gem
     expect(MultiJson.adapter).to eq(MultiJson::Adapters::JsonGem)
   end
 
-  it 'is settable via a case-insensitive string' do
+  xit 'is settable via a case-insensitive string' do
     MultiJson.use 'Json_Gem'
     expect(MultiJson.adapter).to eq(MultiJson::Adapters::JsonGem)
   end
@@ -106,7 +106,7 @@ describe MultiJson do
       expect(MultiJson::Adapters::JsonPure).to receive(:load).once.and_return('load_something')
     end
 
-    it 'should use the defined parser just for the call' do
+    xit 'should use the defined parser just for the call' do
       MultiJson.use :json_gem
       expect(MultiJson.dump('', :adapter => :json_pure)).to eq('dump_something')
       expect(MultiJson.load('', :adapter => :json_pure)).to eq('load_something')
@@ -114,7 +114,7 @@ describe MultiJson do
     end
   end
 
-  it 'can set adapter for a block' do
+  xit 'can set adapter for a block' do
     MultiJson.use :ok_json
     MultiJson.with_adapter(:json_pure) do
       MultiJson.with_engine(:json_gem) do