Sha256: 86620666729d49f3712b78a93d441fa40dd8506a3f0efb07f5572db2095a2b5b
Contents?: true
Size: 368 Bytes
Versions: 35
Compression:
Stored size: 368 Bytes
Contents
require 'spec_helper' describe "Supernova::SymbolExtensions" do [:not, :gt, :lt, :gte, :lte, :ne].each do |type| it "returns the correct condition for #{type}" do cond = :user_id.send(type) cond.key.should == :user_id cond.type.should == type end end it "sets the correct key" do :other_id.not.key.should == :other_id end end
Version data entries
35 entries across 35 versions & 1 rubygems