Sha256: 34cb44328592c3df1a2c75d4b5398c6a22d93594d793bbe52795ec5978de98f1

Contents?: true

Size: 452 Bytes

Versions: 12

Compression:

Stored size: 452 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Octopus do
  describe "#config method" do
    it "should load shards.yml file to start working" do
      Octopus.config().should be_kind_of(Hash)
    end
  end

  describe "#directory method" do
    it "should return the directory that contains the shards.yml file" do
      Octopus.directory().should == File.expand_path(File.dirname(__FILE__) + "/../")
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ar-octopus-0.0.12 spec/octopus/octopus_spec.rb
ar-octopus-0.0.11 spec/octopus/octopus_spec.rb
ar-octopus-0.0.10 spec/octopus/octopus_spec.rb
ar-octopus-0.0.9 spec/octopus/octopus_spec.rb
ar-octopus-0.0.8 spec/octopus/octopus_spec.rb
ar-octopus-0.0.7 spec/octopus/octopus_spec.rb
ar-octopus-0.0.6 spec/octopus/octopus_spec.rb
ar-octopus-0.0.5 spec/octopus/octopus_spec.rb
ar-octopus-0.0.4 spec/octopus/octopus_spec.rb
ar-octopus-0.0.3 spec/octopus/octopus_spec.rb
ar-octopus-0.0.2 spec/octopus/octopus_spec.rb
ar-octopus-0.0.1 spec/octopus/octopus_spec.rb