Sha256: 04c5fe7a483001a86ec83a7a488922601702a7c2e85a4f9524bd888333aa995c
Contents?: true
Size: 488 Bytes
Versions: 2
Compression:
Stored size: 488 Bytes
Contents
require './spec/spec_helper' describe SparkApi do 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spark_api-1.2.1 | spec/unit/spark_api_spec.rb |
spark_api-1.2.0 | spec/unit/spark_api_spec.rb |