spec/jortt_spec.rb in jortt-4.2.0 vs spec/jortt_spec.rb in jortt-5.0.0
- old
+ new
@@ -1,9 +1,8 @@
-# encoding: UTF-8
require 'spec_helper'
-describe Jortt do
+describe Jortt, :vcr do
describe '.client' do
- subject { described_class.client(app_name: 'name', api_key: 'secret') }
+ subject { described_class.client(ENV['JORTT_CLIENT_ID'], ENV['JORTT_CLIENT_SECRET']) }
it { should be_instance_of(described_class::Client) }
end
end