spec/hash_spec.rb in cistern-2.8.2 vs spec/hash_spec.rb in cistern-2.10.0
- old
+ new
@@ -70,14 +70,16 @@
include_examples 'hash_support'
end
describe Cistern::Singular do
- subject { Class.new(Sample::Singular) do
- def reload
- attributes
- end
- end.new({}) }
+ subject do
+ Class.new(Sample::Singular) do
+ def reload
+ attributes
+ end
+ end.new({})
+ end
include_examples 'hash_support'
end
describe Cistern::Request do