mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Upgrade rspec to 3.4.0.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user