Sha256: 164b4cffbbcd13bd4ea94a2c9ca1facc2a6cc9c16a4c556eb79ec36a8536ab68

Contents?: true

Size: 516 Bytes

Versions: 8

Compression:

Stored size: 516 Bytes

Contents

require 'bundler/setup'
require 'rspec/its'
Bundler.setup

$LOAD_PATH << File.dirname(__FILE__) + "/../"

require 'wp/api'

require 'spec/helpers/files_helper'
require 'spec/helpers/wordpress_helper'
require 'spec/helpers/json_helper'
require 'spec/support/mock_wordpress_server'

RSpec.configure do |config|
  # some (optional) config here
  config.before do |example|
    @mock_server ||= MockWordpressServer.new
  end

  config.include FilesHelper
  config.include JSONHelper
  config.include WordpressHelper
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
wp-api-0.1.6 spec/spec_helper.rb
wp-api-0.1.5 spec/spec_helper.rb
wp-api-0.1.4 spec/spec_helper.rb
wp-api-0.1.3 spec/spec_helper.rb
wp-api-0.1.2 spec/spec_helper.rb
wp-api-0.1.1 spec/spec_helper.rb
wp-api-0.0.4 spec/spec_helper.rb
wp-api-0.0.3 spec/spec_helper.rb