Sha256: 0c1cf0eda2331657bab3ef1809ab1adeb3debee4b47761ff643d507407d08392

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'wordnik'
require 'vcr'
require 'typhoeus'
require 'json'

RSpec.configure do |config|
  # some (optional) config here
end

VCR.config do |config|
  config.cassette_library_dir = 'spec/vcr'
  config.stub_with :webmock # or :fakeweb
end

unless ENV['KEY']
  puts "\nOn Noes! You gotta include your API key when running the specs, like so:\n\nKEY=12345 rake spec\n\n"
  exit
end

Wordnik.configure do |config|
  config.api_key =  ENV['KEY']
  config.base_uri = "beta.wordnik.com/v4"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wordnik-0.3.6 spec/spec_helper.rb
wordnik-0.3.5 spec/spec_helper.rb
wordnik-0.3.4 spec/spec_helper.rb
wordnik-0.3.2 spec/spec_helper.rb
wordnik-0.3.1 spec/spec_helper.rb
wordnik-0.3.0 spec/spec_helper.rb