Sha256: b58df3175c434e48979251d58421c03c6f98591649b6fcd137b20d80b34071f8
Contents?: true
Size: 572 Bytes
Versions: 5
Compression:
Stored size: 572 Bytes
Contents
require 'spec_helper' describe 'Follower' do it 'should raise UnknownFollowerTypeError if given an unknown follower' do lambda { Covetous::Data::Follower.new("assassin") }.must_raise UnknownFollowerTypeError end describe 'given a correct follower type' do before do VCR.use_cassette('follower_data') do @follower_info = Covetous::Data::Follower.new 'enchantress' end end after do VCR.eject_cassette end it 'should get the correct response' do @follower_info.name.must_equal 'Enchantress' end end end
Version data entries
5 entries across 5 versions & 1 rubygems