Sha256: 9d1cc89d4cb52677dea3ae5ae785fafe6887549afa307617da2bc92e1ab311d7
Contents?: true
Size: 529 Bytes
Versions: 3
Compression:
Stored size: 529 Bytes
Contents
require './spec/spec_helper' describe SparkApi do after(:each) do reset_config end it "should use 'yajl-ruby' for parsing json" do MultiJson.engine.should eq(MultiJson::Adapters::Yajl) end it "should load the version" do subject::VERSION.should match(/\d+\.\d+\.\d+/) end it "should give me a client connection" do subject.client.should be_a(SparkApi::Client) end it "should reset my connection" do c1 = subject.client subject.reset subject.client.should_not eq(c1) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spark_api-1.1.2 | spec/unit/spark_api_spec.rb |
spark_api-1.1.1 | spec/unit/spark_api_spec.rb |
spark_api-1.1.0 | spec/unit/spark_api_spec.rb |