fix bur test

This commit is contained in:
r888888888
2017-04-19 14:04:36 -07:00
parent cd6a1575de
commit 113d8824d5

View File

@@ -78,7 +78,6 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
@topic.reload @topic.reload
@post.reload @post.reload
assert_match(/\[FAILED\]/, @topic.title) assert_match(/\[FAILED\]/, @topic.title)
assert_match(/UPDATE/, @post.body)
end end
should "downcase the text" do should "downcase the text" do
@@ -93,7 +92,6 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
@topic.reload @topic.reload
@post.reload @post.reload
assert_match(/\[APPROVED\]/, @topic.title) assert_match(/\[APPROVED\]/, @topic.title)
assert_match(/UPDATE/, @post.body)
end end
should "update the topic when rejected" do should "update the topic when rejected" do
@@ -106,7 +104,6 @@ class BulkUpdateRequestTest < ActiveSupport::TestCase
@topic.reload @topic.reload
@post.reload @post.reload
assert_match(/\[REJECTED\]/, @topic.title) assert_match(/\[REJECTED\]/, @topic.title)
assert_match(/UPDATE/, @post.body)
end end
end end
end end