spec/lib/quandl/client/dataset/validation_spec.rb in quandl_client-2.8.0 vs spec/lib/quandl/client/dataset/validation_spec.rb in quandl_client-2.9.0
- old
+ new
@@ -48,10 +48,10 @@
})}
end
describe "#code" do
- before(:all){ Quandl::Client.token = ENV['QUANDL_AUTH_TOKEN'] }
+ before(:all){ Quandl::Client.token = Spec::Config::Quandl.token}
let(:dataset){ create(:dataset, source_code: "QUANDL_CLIENT_TEST_SOURCE" ) }
let(:invalid_dataset){ create(:dataset, source_code: "QUANDL_CLIENT_TEST_SOURCE", code: dataset.code ) }
subject{ invalid_dataset }
\ No newline at end of file