Sha256: 079054079ac2be23e64ee5bfb07b94060d0ba765014374aceeb1e6ece8ac5274
Contents?: true
Size: 785 Bytes
Versions: 12
Compression:
Stored size: 785 Bytes
Contents
require 'spec_helper' describe Museum::Loupe do include_context 'loupe support' include_context 'case support' it { should respond_to(:friendly_id) } it { should validate_presence_of(:title) } describe '#id_by_slug' do subject { Museum::Loupe.id_by_slug('rubygems') } it { should be_an Integer} end describe '#magnify' do subject { rubygems.magnify(dummy_package) } it { should be_a Hash } end describe '#url' do subject { rubygems.url(dummy_package) } it { should be_a String } end describe '#response' do subject { rubygems.response(dummy_package) } it { should be_a String } end describe '#parse_as' do subject { rubygems.parse_as('json', rubygems.response(dummy_package) ) } it { should be_a Hash } end end
Version data entries
12 entries across 12 versions & 1 rubygems