spec/dsl/assertions_spec.rb in remarkable-3.0.1 vs spec/dsl/assertions_spec.rb in remarkable-3.0.2

- old
+ new

@@ -3,11 +3,11 @@ describe Remarkable::DSL::Assertions do subject { [1, 2, 3] } before(:each) do @matcher = Remarkable::Specs::Matchers::CollectionContainMatcher.new(1, 2, 3) - end + end it 'should provide default structure for assertions' do should collection_contain(1) should collection_contain(1, 2) should collection_contain(1, 2, 3) @@ -37,11 +37,11 @@ end it 'should provide an interface for default_options hook' do matcher = Remarkable::Specs::Matchers::CollectionContainMatcher.new(1, :args => true) matcher.instance_variable_get('@options').should == { :working => true, :args => true } - end - + end + it 'should provide an interface for after_initialize hook' do matcher = Remarkable::Specs::Matchers::CollectionContainMatcher.new(1) matcher.instance_variable_get('@after_initialize').should be_true end