Sha256: 7ebcdcd513b8f862aec64032f506af34aa89449a21bb337ed35a2254e61ebec4
Contents?: true
Size: 786 Bytes
Versions: 8
Compression:
Stored size: 786 Bytes
Contents
require 'rails_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
8 entries across 8 versions & 1 rubygems