Sha256: a653b3c19dcbb841aac2e29556a4a13dee881636ba9c30e222baf12bc425c8c1

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

require 'spec_helper'

module Trajectory
  describe VelocityEqualToZeroError do
    it 'can displays that velocity of a project is equal to zero' do
      project = double
      VelocityEqualToZeroError.new(project).to_s.should == "Estimated velocity of #{project.inspect} is equal to 0."
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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