Sha256: 4bd827bbc718210f46d6267156a534479f26a4b773b112f82b14d83c42db8cd6
Contents?: true
Size: 405 Bytes
Versions: 13
Compression:
Stored size: 405 Bytes
Contents
require 'spec_helper' require 'cloudinary' describe Cloudinary do before :all do @user_platform = Cloudinary.user_platform end after :all do Cloudinary.user_platform = @user_platform end it 'should add a user platform to USER_AGENT' do Cloudinary.user_platform = "Spec/1.0 (Test)" expect(Cloudinary.USER_AGENT).to match( %r"Spec\/1.0 \(Test\) CloudinaryRuby/[\d.]+") end end
Version data entries
13 entries across 13 versions & 1 rubygems