Sha256: b38d9b156444175488fce30f0798ad63206d76296d0b12ebb549dece8a8f2d7d

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

require "spec_helper"

module SandthornSequelProjection
  module Utilities
    describe NullProc do
      describe "::new" do
        it "returns a Proc that does nothing" do
          proc = NullProc.new
          expect { proc.call }.to_not raise_error
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sandthorn_sequel_projection-0.1.0 spec/utilities/null_proc_spec.rb
sandthorn_sequel_projection-0.0.4 spec/utilities/null_proc_spec.rb
sandthorn_sequel_projection-0.0.3 spec/utilities/null_proc_spec.rb
sandthorn_sequel_projection-0.0.2 spec/utilities/null_proc_spec.rb
sandthorn_sequel_projection-0.0.1 spec/utilities/null_proc_spec.rb