Sha256: 708b3e42f2d3e9c021065bc8a938c04627076d7b028aa4398d873e07cc13ffef
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
require 'spec_helper' require 'rspec/bdd' RSpec.feature 'Publishing a kit' do given(:client) { Typekit::Client.new(token: token) } given(:kit) { client::Kit.new(:kits, id: 'xxx') } options = { vcr: { cassette_name: 'update_kits_xxx_publish_ok' } } scenario 'Success', options do date = kit.publish! expect(date).to be_kind_of(DateTime) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typekit-client-0.0.6 | spec/feature/publish_kit_spec.rb |