Sha256: f24ef25b853f741442b1f614e7f0264758f13deda1185d1e41911338f8ad440f

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

require './spec/spec_helper'

describe SparkApi do
  after(:each) do
    reset_config
  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

4 entries across 4 versions & 1 rubygems

Version Path
spark_api-1.0.4 spec/unit/spark_api_spec.rb
spark_api-1.0.2 spec/unit/spark_api_spec.rb
spark_api-1.0.1 spec/unit/spark_api_spec.rb
spark_api-1.0.0 spec/unit/spark_api_spec.rb