Sha256: cd1085e0bad3955c80eb59b24ccc9545e938944989e516848bc4de458d9d2655
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
require 'spec_helper' describe Dicer::Contextable do let(:entity) { Entity.new({}) } let(:cleaning_context) { CleaningContext.new } describe '#in_context' do context 'current context is cleaning context' do before do Dicer::Context.current = cleaning_context end subject { entity.in_context } it { should respond_to(:clean) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems