Sha256: 04f6ce8c564ece74b2d6134bf0a97276b6d9adf042f1f72067b3f3bdb2d51119

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

require 'spec_helper'

describe FcrepoWrapper::Instance do
  let(:wrapper) { described_class.new }

  describe "#host" do
    subject { wrapper.host }
    it { is_expected.to eq '127.0.0.1' }
  end

  describe "#port" do
    subject { wrapper.port }
    it { is_expected.to eq '8080' }
  end

  describe "#url" do
    subject { wrapper.url }
    it { is_expected.to eq 'http://127.0.0.1:8080/' }
  end

  describe "#version" do
    subject { wrapper.version }
    it { is_expected.to eq '4.5.0' }
  end

  describe "#md5" do
    subject { wrapper.md5 }
    it { is_expected.to be_instance_of FcrepoWrapper::MD5 }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fcrepo_wrapper-0.3.4.1 spec/lib/fcrepo_wrapper/instance_spec.rb
fcrepo_wrapper-0.3.4 spec/lib/fcrepo_wrapper/instance_spec.rb
fcrepo_wrapper-0.3.3 spec/lib/fcrepo_wrapper/instance_spec.rb
fcrepo_wrapper-0.3.2 spec/lib/fcrepo_wrapper/instance_spec.rb
fcrepo_wrapper-0.3.1 spec/lib/fcrepo_wrapper/instance_spec.rb
fcrepo_wrapper-0.3.0 spec/lib/fcrepo_wrapper/instance_spec.rb