Sha256: b80023b1a52901928aa3d34ac7c22c4d3a0905d812952bb09a314c36e616e6ea

Contents?: true

Size: 201 Bytes

Versions: 15

Compression:

Stored size: 201 Bytes

Contents

module SphinxYamlHelpers
  def write_configuration(hash)
    File.stub :read => {'test' => hash}.to_yaml, :exists? => true
  end
end

RSpec.configure do |config|
  config.include SphinxYamlHelpers
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
thinking-sphinx-3.2.0 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.1.4 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.1.3 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.1.2 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.1.1 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.1.0 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.6 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.5 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.4 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.3 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.2 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.1 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.0 spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.0.rc spec/support/sphinx_yaml_helpers.rb
thinking-sphinx-3.0.0.pre spec/support/sphinx_yaml_helpers.rb