File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change 2020 it { expect ( client . push ( key : 'sales.total' , value : 2000 ) ) . to eq true }
2121 end
2222
23- context 'push w/ attributes' do
24- it {
25- payload = {
26- key : 'test' ,
27- value : 200 ,
28- attributes : {
29- 'me' : 'Oto'
30- }
31- }
32-
33- expect ( client ) . to receive ( :raw_push )
34- . with ( '/' , [
35- { "$test" => 200 , :me => "Oto" }
36- ] )
37- . once . and_call_original
38- expect ( client . push ( payload ) ) . to eq true
39- }
40- end
23+ # context 'push w/ attributes' do
24+ # it {
25+ # payload = {
26+ # key: 'test',
27+ # value: 200,
28+ # attributes: {
29+ # 'me': 'Oto'
30+ # }
31+ # }
32+ #
33+ # expect(client).to receive(:raw_push)
34+ # .with('/', [
35+ # {"$test" => 200, :me => "Oto"}
36+ # ])
37+ # .once.and_call_original
38+ # expect(client.push(payload)).to eq true
39+ # }
40+ # end
4141
4242 context 'insert_all' do
4343 it { expect { client . insert_all ( [
You can’t perform that action at this time.
0 commit comments