Sha256: 3ae3cdf5456d1e0827f794eb4c8e2cf4a6440bda252ee62b6828feff64564840

Contents?: true

Size: 349 Bytes

Versions: 10

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

describe Hyrax::Arkivo do
  describe '.config' do
    it 'returns a hash with the :url key' do
      expect(described_class.config).to have_key(:url)
    end
  end
  describe '.new_subscription_url' do
    it 'returns a string' do
      expect(described_class.new_subscription_url).to eq '/api/subscription'
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.1.0 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.5 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.4 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.3 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.2 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.1 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.0.rc2 spec/lib/hyrax/arkivo_spec.rb
hyrax-1.0.0.rc1 spec/lib/hyrax/arkivo_spec.rb
test_hyrax-0.0.1.alpha spec/lib/hyrax/arkivo_spec.rb