summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-09 08:34:50 +0200
committerAzul <azul@riseup.net>2016-05-09 08:34:50 +0200
commit0ab4b26752c7949840f9168a7e8dc94226debd51 (patch)
tree434a5894e136b3c73cf611be8caa71f7280f720a /test/functional
parent33e2a52f683697ca8489d856df90b39bfbbe7373 (diff)
minor: cleanup debug message in test
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/v1/messages_controller_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/v1/messages_controller_test.rb b/test/functional/v1/messages_controller_test.rb
index 67f34a1..f37cca0 100644
--- a/test/functional/v1/messages_controller_test.rb
+++ b/test/functional/v1/messages_controller_test.rb
@@ -15,7 +15,6 @@ class V1::MessagesControllerTest < ActionController::TestCase
login @user
get :index, :locale => 'es'
body = JSON.parse(response.body)
- p body
message1 = "<p>\"This\" is a <strong>very</strong> fine message. <a href=\"https://bitmask.net\">https://bitmask.net</a></p>\n"
assert_equal 2, body.size, 'there should be two messages'
assert_equal message1, body.first["text"], 'first message text should match files/motd/1.en.md'