Sha256: fc0c64fcf505cbee74e4798c3e432a84a2fa53af646c3b0553af6cbab0a3eaa9

Contents?: true

Size: 524 Bytes

Versions: 20

Compression:

Stored size: 524 Bytes

Contents

require File.join( File.dirname(__FILE__),  "../spec_helper" )
require 'active_fedora/rubydora_connection'

describe ActiveFedora::RubydoraConnection do

  describe 'nextid' do
    before do
      @instance = ActiveFedora::RubydoraConnection.instance
    end
    it "should get nextid" do
      one = @instance.nextid
      two = @instance.nextid
      one = one.gsub('changeme:', '').to_i
      two = two.gsub('changeme:', '').to_i
      two.should == one + 1
    end
  end

  describe 'find_model' do
    
  end

  
end


Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
active-fedora-3.1.1 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.rc4 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.rc3 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.rc2 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.rc1 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre14 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre13 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre12 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre11 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre10 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre9 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre8 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre7 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre6 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre5 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre4 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre3 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre2 spec/unit/rubydora_connection_spec.rb
active-fedora-3.1.0.pre1 spec/unit/rubydora_connection_spec.rb