spec/base_spec.rb in remarkable-3.1.7 vs spec/base_spec.rb in remarkable-3.1.8
- old
+ new
@@ -25,9 +25,14 @@
it 'should store spec instance binding' do
matcher = contain(1)
should matcher
matcher.instance_variable_get('@spec').class.ancestors.should include(Spec::Example::ExampleGroup)
end
+
+ it 'should be positive' do
+ contain(1).should be_positive
+ contain(1).should_not be_negative
+ end
it { should contain(1) }
it { should_not contain(10) }
class MatchersSandbox