Sha256: d9c1c3053a44acebab3edcaef15f75c517100a073150df724ed334276dc4a618

Contents?: true

Size: 543 Bytes

Versions: 7

Compression:

Stored size: 543 Bytes

Contents

require 'rspec'
require 'view_helpers/view_example_group'
begin
  require 'ruby-debug'
rescue LoadError
  # no debugger available
end

Dir[File.expand_path('../matchers/*_matcher.rb', __FILE__)].each { |matcher| require matcher }

RSpec.configure do |config|
  config.include Module.new {
    protected

    def include_phrase(string)
      PhraseMatcher.new(string)
    end

    def have_deprecation(msg)
      DeprecationMatcher.new(msg)
    end
  }
  
  config.mock_with :mocha
  config.backtrace_clean_patterns << /view_example_group/
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
will_paginate-3.0.12 spec/spec_helper.rb
will_paginate-3.0.11 spec/spec_helper.rb
will_paginate-3.0.10 spec/spec_helper.rb
will_paginate-3.0.9 spec/spec_helper.rb
will_paginate-3.0.8 spec/spec_helper.rb
will_paginate-3.0.7 spec/spec_helper.rb
will_paginate-3.0.6 spec/spec_helper.rb