Sha256: a185ad351d1404c9ffbbe0496598531500eff56a4ad390ef5713a231c973d06b
Contents?: true
Size: 311 Bytes
Versions: 4
Compression:
Stored size: 311 Bytes
Contents
require 'spec_helper' describe Dicer::Behavior do subject(:behavior) do Module.new do include Dicer::Behavior def foo; 2; end end end describe '.behavior_methods' do subject { behavior.behavior_methods } it { should have(1).item } it { should include(:foo) } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dicer-0.3.0 | spec/dicer/behavior_spec.rb |
dicer-0.2.0 | spec/dicer/behavior_spec.rb |
dicer-0.1.0 | spec/dicer/behavior_spec.rb |
dicer-0.0.1 | spec/dicer/behavior_spec.rb |