spec/lib/hyrax/zotero_spec.rb in hyrax-1.1.1 vs spec/lib/hyrax/zotero_spec.rb in hyrax-2.0.0.beta1
- old
+ new
@@ -1,7 +1,8 @@
-describe Hyrax::Zotero do
+RSpec.describe Hyrax::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