test/integration/navigation_test.rb in killbill-avatax-0.1.0 vs test/integration/navigation_test.rb in killbill-avatax-0.2.0
- old
+ new
@@ -1,8 +1,17 @@
require 'test_helper'
class NavigationTest < ActionDispatch::IntegrationTest
- # test "the truth" do
- # assert true
- # end
+
+ include Avatax::Engine.routes.url_helpers
+
+ test 'can see the main configuration page' do
+ get '/avatax'
+ assert_response :success
+ end
+
+ test 'can see the plugin configuration page' do
+ get '/avatax/configuration/plugin'
+ assert_response :success
+ end
end