Sha256: 0517817973ad8643cad9a7623d849bd1c46338e08175953874d23b890cb1e5e0
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
require 'spec_helper' module Alf describe AttrList, 'include?' do let(:list){ AttrList[:id, :name] } subject{ list.include?(attribute) } context 'when included' do let(:attribute){ :id } it{ should be_true } end context 'when not included' do let(:attribute){ :notthatone } it{ should be_false } end end end
Version data entries
4 entries across 4 versions & 1 rubygems