Sha256: 43f4e3b40d1cf1c71aca34eb41ff0741654bbec9ef593d2de0203503e89a69f4
Contents?: true
Size: 504 Bytes
Versions: 9
Compression:
Stored size: 504 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 "should save name and resolver" do name = stub("Name") token = stub("Token") resolver = Hashie::Mash.new(:token => token) resolvable = @class.new(name, :resolver => resolver) resolvable.name.should == name resolvable.token.should == token end end end
Version data entries
9 entries across 9 versions & 1 rubygems