Sha256: 7221e7ee3466e2956fd28abc2290c1114b63605c9c6919ba0c27b1f2183e0491
Contents?: true
Size: 300 Bytes
Versions: 15
Compression:
Stored size: 300 Bytes
Contents
require 'spec_helper' describe Restspec::Values::StatusCode do describe '#value' do it 'maps a string to a code' do expect(described_class.new(:ok).value).to eq(200) end it 'just return the same code' do expect(described_class.new(200).value).to eq(200) end end end
Version data entries
15 entries across 15 versions & 1 rubygems