Skip to content

Commit

Permalink
refactor(test): replace debug information
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Nov 23, 2023
1 parent b913081 commit 9547f0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/examples/history_examples_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
it "fetch_decrypted_and_decrypt_with_some_key" do
VCR.use_cassette("examples/history/crypto_3", :record => :none) do
client = Pubnub.new(
publish_key: "demo-36",
subscribe_key: "demo-36",
publish_key: "pub-a-mock-key",
subscribe_key: "sub-a-mock-key",
user_id: "ruby-test-uuid-client-one"
)
client.publish(channel: 'crypto_channel_13', message: 'Hello world', http_sync: true)
Expand All @@ -91,7 +91,7 @@
"message" => "Hello world", "meta" => ""
}], :end => 17007555072405073, :start => 17007554539617347 })
expect(envelope.result[:data][:messages][0]['decrypt_error']).not_to be_nil
expect(envelope.result[:data][:messages][0]['decrypt_error']).to eq false
expect(envelope.result[:data][:messages][0]['decrypt_error']).to eq true
end
end

Expand Down

0 comments on commit 9547f0f

Please sign in to comment.