1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Description: Some shared examples in the specs come from the devtools gem
which is not packaged for Debian. Dropping them for the moment
Forwarded: not-needed
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2014-02-28
--- a/spec/unit/descendants_tracker/add_descendant_spec.rb
+++ b/spec/unit/descendants_tracker/add_descendant_spec.rb
@@ -9,7 +9,7 @@
let(:object) { Class.new(described_class) }
let(:descendant) { Class.new }
- it_should_behave_like 'a command method'
+ #it_should_behave_like 'a command method'
it 'prepends the class to the descendants' do
object.descendants << original = Class.new
--- a/spec/unit/descendants_tracker/descendants_spec.rb
+++ b/spec/unit/descendants_tracker/descendants_spec.rb
@@ -9,7 +9,7 @@
let(:object) { described_class }
context 'when there are no descendants' do
- it_should_behave_like 'an idempotent method'
+ #it_should_behave_like 'an idempotent method'
it { should be_empty }
end
@@ -17,7 +17,7 @@
context 'when there are descendants' do
let!(:descendant) { Class.new(object) } # trigger the class inhertance
- it_should_behave_like 'an idempotent method'
+ #it_should_behave_like 'an idempotent method'
it { should eql([descendant]) }
end
|