summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-06-14 11:35:51 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-06-14 11:35:51 -0700
commit598d6d34897948612d9faff42bcce168e9fd7d94 (patch)
tree38d8b1f1e57dc6b127cbae35d2a2d6fb51aa8613 /spec
parentc9ff94047546b56eb082605cb85c42568e90671f (diff)
downloadffi-yajl-598d6d34897948612d9faff42bcce168e9fd7d94.tar.gz
fix ordering deprecation warning
Diffstat (limited to 'spec')
-rw-r--r--spec/ffi_yajl/json_gem_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ffi_yajl/json_gem_spec.rb b/spec/ffi_yajl/json_gem_spec.rb
index 8e49dce..a096b5b 100644
--- a/spec/ffi_yajl/json_gem_spec.rb
+++ b/spec/ffi_yajl/json_gem_spec.rb
@@ -11,7 +11,7 @@ describe "JSON Gem Compat API" do
# Magic to make the before loading tests actually run before loading
RSpec.configure do |config|
- config.order_groups_and_examples do |list|
+ config.register_ordering(:global) do |list|
list.sort_by { |item| item.description }
end
end