spec/wordnik_spec.rb in wordnik-0.3.2 vs spec/wordnik_spec.rb in wordnik-0.3.4

- old
+ new

@@ -1,9 +1,15 @@ require 'spec_helper' describe Wordnik do - + before(:each) do + Wordnik.configure do |config| + config.api_key = ENV['KEY'] + config.base_uri = "beta.wordnik.com/v4" + end + end + context "instantiation" do context "resources" do it "instantiates resources from cached JSON" do Wordnik.resources.class.should == Hash \ No newline at end of file