Sha256: f9214e2e0ec739506e77de3191fb0740a5ab1953314f9496f500b77249988560

Contents?: true

Size: 301 Bytes

Versions: 13

Compression:

Stored size: 301 Bytes

Contents

require 'spec_helper'

describe Curate do
  let(:curation_concern) { double(noid: "abc123") }

  context '.permanent_url' do
    it {
      expect(Curate.permanent_url_for(curation_concern)).to eq(File.join(Curate.configuration.application_root_url, "/show/#{curation_concern.noid}"))
    }
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 spec/lib/curate_spec.rb
curate-0.6.5 spec/lib/curate_spec.rb
curate-0.6.4 spec/lib/curate_spec.rb
curate-0.6.3 spec/lib/curate_spec.rb
curate-0.6.1 spec/lib/curate_spec.rb
curate-0.6.0 spec/lib/curate_spec.rb
curate-0.5.6 spec/lib/curate_spec.rb
curate-0.5.5 spec/lib/curate_spec.rb
curate-0.5.4 spec/lib/curate_spec.rb
curate-0.5.2 spec/lib/curate_spec.rb
curate-0.5.1 spec/lib/curate_spec.rb
curate-0.5.0 spec/lib/curate_spec.rb
curate-0.4.2 spec/lib/curate_spec.rb