Sha256: af526e770e7c865bc39675f79e6417f9e9e3a163c33b57fcd8476a5a42046cc3

Contents?: true

Size: 239 Bytes

Versions: 7

Compression:

Stored size: 239 Bytes

Contents

describe Sufia::Zotero do
  describe '.publications_url' do
    let(:user_id) { 'foobar' }
    it 'returns a string' do
      expect(described_class.publications_url(user_id)).to eq "/users/#{user_id}/publications/items"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sufia-7.4.1 spec/lib/sufia/zotero_spec.rb
sufia-7.4.0 spec/lib/sufia/zotero_spec.rb
sufia-7.3.1 spec/lib/sufia/zotero_spec.rb
sufia-7.3.0 spec/lib/sufia/zotero_spec.rb
sufia-7.3.0.rc3 spec/lib/sufia/zotero_spec.rb
sufia-7.3.0.rc2 spec/lib/sufia/zotero_spec.rb
sufia-7.3.0.rc1 spec/lib/sufia/zotero_spec.rb