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-1.0.5 spec/lib/ninja_model/symbol_spec.rb
ninja-model-1.0.4 spec/lib/ninja_model/symbol_spec.rb
ninja-model-1.0.3 spec/lib/ninja_model/symbol_spec.rb
ninja-model-1.0.2 spec/lib/ninja_model/symbol_spec.rb
ninja-model-1.0.1 spec/lib/ninja_model/symbol_spec.rb
ninja-model-1.0.0 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.6 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.5 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.4 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.3 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.2 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.1 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.9.0 spec/lib/ninja_model/symbol_spec.rb
ninja-model-0.8.1 spec/ninja_model/symbol_spec.rb
ninja-model-0.8.0 spec/ninja_model/symbol_spec.rb
ninja-model-0.7.3 spec/ninja_model/symbol_spec.rb
ninja-model-0.7.2 spec/ninja_model/symbol_spec.rb
ninja-model-0.7.1 spec/ninja_model/symbol_spec.rb
ninja-model-0.7.0 spec/ninja_model/symbol_spec.rb
ninja-model-0.6.2 spec/ninja_model/symbol_spec.rb