spec/matchers_spec.rb in remarkable-3.1.8 vs spec/matchers_spec.rb in remarkable-3.1.9

- old
+ new

@@ -1,8 +1,8 @@ -require File.expand_path(File.dirname(__FILE__) + '/spec_helper') - -describe Remarkable::Matchers do +require File.expand_path(File.dirname(__FILE__) + '/spec_helper') + +describe Remarkable::Matchers do it 'should include matchers in a specified target' do klass = Class.new module Foo module Matchers @@ -44,7 +44,7 @@ meta.should_receive(:ancestors).twice.and_return([Remarkable::Pending, Remarkable::Macros]) klass.should_not_receive(:extend).with(Remarkable::Pending) klass.should_not_receive(:extend).with(Remarkable::Macros) Remarkable.include_matchers!(Module.new, klass) - end -end + end +end