Sha256: 1505731a1661e994f4d322aaf3b59df59a7a794153613f1b2a2a763a047b0394
Contents?: true
Size: 715 Bytes
Versions: 3
Compression:
Stored size: 715 Bytes
Contents
require 'bundler' Bundler.require(:default, :development) # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} module Support def flatten_calls(calls) [].tap do |flattened_calls| add = -> (calls) do calls.each do |call| flattened_calls << call[0..1] add.call call[2] end end add.call element.base_calls end end end RSpec.configure do |config| config.mock_with :rspec do |c| c.syntax = [:should, :expect] end config.expect_with :rspec do |c| c.syntax = [:should, :expect] end config.include Support end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
prawn-svg-0.24.0 | spec/spec_helper.rb |
prawn-svg-0.23.1 | spec/spec_helper.rb |
prawn-svg-0.23.0 | spec/spec_helper.rb |