spec/endpoint_spec.rb in wordnik-0.4.5 vs spec/endpoint_spec.rb in wordnik-0.4.6
- old
+ new
@@ -2,10 +2,10 @@
describe Wordnik::Endpoint do
before(:each) do
VCR.use_cassette('words', :record => :new_episodes) do
- @response = Typhoeus::Request.get("http://api.wordnik.com/v4/word.json")
+ @response = Typhoeus::Request.get("http://beta.wordnik.com/v4/word.json")
end
@resource = Wordnik::Resource.new(:name => "word", :raw_data => JSON.parse(@response.body))
@endpoint = @resource.endpoints.first
end
\ No newline at end of file