test/integration/navigation_test.rb in killbill-kpm-0.2.0 vs test/integration/navigation_test.rb in killbill-kpm-0.3.0

- old
+ new

@@ -1,8 +1,17 @@ require 'test_helper' class NavigationTest < ActionDispatch::IntegrationTest - # test "the truth" do - # assert true - # end + + include KPM::Engine.routes.url_helpers + + test 'can see the nodes info page' do + get '/kpm' + assert_response :success + end + + test 'can restart bundle' do + post '/kpm/nodes_info/plugin/restart?plugin_name=org.apache.felix.shell' + assert_response :success + end end