Sha256: 6e193023238086cfb4ea03ced413e4b3dda02feedddee77bc082f183affe3562

Contents?: true

Size: 688 Bytes

Versions: 29

Compression:

Stored size: 688 Bytes

Contents

require 'spec_helper'

describe Symbol do
  subject { :foobar }
  it { should respond_to(:eq) }
  it { should respond_to(:ne) }
  it { should respond_to(:gt) }
  it { should respond_to(:gte) }
  it { should respond_to(:lt) }
  it { should respond_to(:lte) }
  it { should respond_to(:in) }
  its(:eq) { should be_kind_of(NinjaModel::Predicate) }
  its(:ne) { should be_kind_of(NinjaModel::Predicate) }
  its(:gt) { should be_kind_of(NinjaModel::Predicate) }
  its(:gte) { should be_kind_of(NinjaModel::Predicate) }
  its(:lt) { should be_kind_of(NinjaModel::Predicate) }
  its(:lte) { should be_kind_of(NinjaModel::Predicate) }
  its(:in) { should be_kind_of(NinjaModel::Predicate) }
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
ninja-model-0.6.1 spec/ninja_model/symbol_spec.rb
ninja-model-0.6.0 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.7 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.6 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.5 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.4 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.3 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.2 spec/ninja_model/symbol_spec.rb
ninja-model-0.5.1 spec/ninja_model/symbol_spec.rb