Sha256: 9e66ede8768b625f3445350844e966f287446d60263dc8290db418d36030f59c

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

module IntegrationHelpers

  def board
    @board ||= Board::Client.new('Bdrc3t1LaiWtygbJ4jD6')
  end

end

RSpec.configure do |config|
  def config.escaped_path(*parts)
    Regexp.compile(parts.join('[\\\/]'))
  end

  config.include IntegrationHelpers, :type => :integration, :example_group => {
    :file_path => config.escaped_path(%w[spec integration])
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
board-client-0.99.1 spec/support/integration_helpers.rb
board-client-0.99.0 spec/support/integration_helpers.rb