Skip to content

Commit

Permalink
added test for questions/new form loads
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyvern committed Nov 2, 2016
1 parent 9c9d4cb commit 4921332
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/functional/questions_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,10 @@ def setup
assert (questions & expected).present?
assert !(questions & [node(:question2)]).present?
end

test "/questions/new form loads" do
get :new

assert_response :success
end
end

0 comments on commit 4921332

Please sign in to comment.