Sha256: c8f93690d8d039fa67ffbc55cc132629eaee06bedceea2fe7c3e182eae1fe0e0
Contents?: true
Size: 458 Bytes
Versions: 6
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe VkontakteApi::Resolvable do before(:each) do @class = Class.new do include VkontakteApi::Resolvable end end describe "#initialize" do it "saves the name and the resolver" do resolver = Hashie::Mash.new(token: 'token') resolvable = @class.new(:name, resolver: resolver) expect(resolvable.name).to eq('name') expect(resolvable.token).to eq('token') end end end
Version data entries
6 entries across 6 versions & 1 rubygems