Upgrade rspec to 3.4.0.

This commit is contained in:
Guo Xiang Tan
2016-05-30 11:38:04 +08:00
parent e11c83341c
commit cb5be1fe8f
15 changed files with 40 additions and 44 deletions

View File

@ -416,7 +416,7 @@ describe TopicQuery do
TopicList.preloaded_custom_fields.clear
# if we attempt to access non preloaded fields explode
expect{new_topic.custom_fields["boom"]}.to raise_error
expect{new_topic.custom_fields["boom"]}.to raise_error(StandardError)
end
end