spec/lib/rambling/trie/serializers/marshal_spec.rb in rambling-trie-2.3.0 vs spec/lib/rambling/trie/serializers/marshal_spec.rb in rambling-trie-2.3.1
- old
+ new
@@ -2,11 +2,9 @@
require 'spec_helper'
describe Rambling::Trie::Serializers::Marshal do
it_behaves_like 'a serializer' do
- let(:serializer) { Rambling::Trie::Serializers::Marshal.new }
let(:format) { :marshal }
-
- let(:formatted_content) { Marshal.dump content }
+ let(:format_content) { Marshal.method(:dump) }
end
end