Sha256: b61ce59be479ad6587378cad8db0c183e82a96483ad87d6ec95341abfc17f161

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

require 'spec_helper'

describe Hapyrus::Command::Base do
  describe '.class_name_to_path' do
    it 'returns rest root path of the resource' do
      base = Hapyrus::Command::Jobs.new
      base.instance_eval{ class_name_to_path }.should == '/jobs'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hapyrus-0.0.1 spec/hapyrus/command/base_spec.rb