Sha256: 84881d59e98b3f9d5a553084866a5a74945c104e849232edfadeaa0d6b98092e
Contents?: true
Size: 708 Bytes
Versions: 2
Compression:
Stored size: 708 Bytes
Contents
require 'helper' describe FuturesPipeline::Client do before do @client = FuturesPipeline::Client.new end describe "#careers" do it "should fetch all careers" do careers = @client.careers careers.first.title.should == "Chief Executives" end end describe "#career" do context "with API-safe O*NET code" do it "should fetch one career" do career = @client.career("11-1011-00") career.title.should == "Chief Executives" end end context "with O*NET status code" do it "should fetch one career" do career = @client.career("11-1011.00") career.title.should == "Chief Executives" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
futures_pipeline-0.0.2 | spec/futures_pipeline/client_spec.rb |
futures_pipeline-0.0.1 | spec/futures_pipeline/client_spec.rb |