Sha256: 7a140ed89fb523ee7a9bc5db3d7d8265bfa73235c7650d741c5e418bb6f04b66

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'

module Trajectory
  describe BadEvnrionmentError do
    it 'tell to the user to set environment variables' do
      BadEvnrionmentError.new.to_s.should == "Specify trajectory API environment variables : TRAJECTORY_API_KEY and TRAJECTORY_ACCOUNT_KEYWORD"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trajectory-0.1.2 spec/unit/exceptions/bad_environment_error_spec.rb
trajectory-0.1.1 spec/unit/exceptions/bad_environment_error_spec.rb
trajectory-0.1.0 spec/unit/exceptions/bad_environment_error_spec.rb