Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 5 additions and 5 deletions.
  1. +1 −1  lib/el_finder/version.rb
  2. +4 −4 test/test_el_finder.rb
View
2  lib/el_finder/version.rb
@@ -1,5 +1,5 @@
# Represents ElFinder namespace.
module ElFinder
# Gem version.
- VERSION = '1.0.20'
+ VERSION = '1.0.21'
end
View
8 test/test_el_finder.rb
@@ -7,25 +7,25 @@ class TestElFinder < Test::Unit::TestCase
################################################################################
def test_should_fail_initialization_if_required_options_not_passed
- assert_raise RuntimeError do
+ assert_raise ArgumentError do
ElFinder::Connector.new()
end
end
def test_should_fail_initialization_if_no_root_specified
- assert_raise RuntimeError do
+ assert_raise ArgumentError do
ElFinder::Connector.new({:url => '/elfinder'})
end
end
def test_should_fail_initialization_if_no_url_specified
- assert_raise RuntimeError do
+ assert_raise ArgumentError do
ElFinder::Connector.new({:root => '/tmp/elfinder'})
end
end
def test_should_fail_initialization_if_mime_handler_is_invalid
- assert_raise RuntimeError do
+ assert_raise ArgumentError do
ElFinder::Connector.new({:root => '/tmp/elfinder', :url => '/elfinder', :mime_handler => Object})
end
end

No commit comments for this range

Something went wrong with that request. Please try again.