Skip to content

Commit

Permalink
Get tests to pass and bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
scotdalton committed Mar 5, 2013
1 parent 10553ce commit 6d7b821
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/exlibris/aleph/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Exlibris
module Aleph
VERSION = "1.0.0"
VERSION = "1.0.1"
end
end
4 changes: 2 additions & 2 deletions test/config_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_config
config.adms = ["ADM1", "ADM2"]
end
assert_equal "test_url", Exlibris::Aleph::Config.base_url
assert_equal "test_url:1891/rest-dlf", Exlibris::Aleph::Config.rest_url
assert_equal "test_url:1891/rest-dlf", Exlibris::Aleph::Record.new.rest_url
assert_equal ["ADM1", "ADM2"], Exlibris::Aleph::Config.adms
reset_aleph_configuration
end
Expand All @@ -16,7 +16,7 @@ def test_config_from_yaml
reset_aleph_configuration
yaml_aleph_configuration
assert_equal "http://aleph.library.nyu.edu", Exlibris::Aleph::Config.base_url
assert_equal "http://aleph.library.nyu.edu:1891/rest-dlf", Exlibris::Aleph::Config.rest_url
assert_equal "http://aleph.library.nyu.edu:1891/rest-dlf", Exlibris::Aleph::Record.new.rest_url
assert_equal ["NYU50", "NYU51"], Exlibris::Aleph::Config.adms
assert_nil(Exlibris::Aleph::Config.tab_path)
reset_aleph_configuration
Expand Down
2 changes: 1 addition & 1 deletion test/support/config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
base_url: aleph.library.nyu.edu
base_url: http://aleph.library.nyu.edu
adms: ["NYU50", "NYU51"]

0 comments on commit 6d7b821

Please sign in to comment.