spec/grape/util/inheritable_values_spec.rb in grape-1.6.0 vs spec/grape/util/inheritable_values_spec.rb in grape-1.6.1
- old
+ new
@@ -2,11 +2,12 @@
require 'spec_helper'
module Grape
module Util
describe InheritableValues do
- let(:parent) { InheritableValues.new }
- subject { InheritableValues.new(parent) }
+ subject { described_class.new(parent) }
+
+ let(:parent) { described_class.new }
describe '#delete' do
it 'deletes a key' do
subject[:some_thing] = :new_foo_bar
subject.delete :some_thing