Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 426 Bytes
require 'test_helper'
class ApplicationHelperTest < ActionView::TestCase
context "functions_group_into_alpha" do
setup do
fs = Library.find_by_name("Clojure Core").namespaces.reduce([]){|coll, ns| coll + ns.functions }
@groups = functions_group_into_alpha(fs)
end
should "result in 2 groups when using functions from clojure core" do
assert_equal 2, @groups.size
end
end
end
Jump to Line
Something went wrong with that request. Please try again.