David Chelimsky

Results 19 issues of David Chelimsky

Given this example: ``` ruby require "test/unit" require "mocha" class FooTest < Test::Unit::TestCase def test_foo sequence = sequence(:task_order) task_one = mock("task_one") task_two = mock("task_two") task_one.expects(:execute).in_sequence(sequence) task_two.expects(:execute).in_sequence(sequence) task_two.execute task_one.execute end end...

feature-request

`Enumerable` methods behave slightly differently on `Array` and `Hash`. I think the `Enumerable` drills that exist (which are all based on `Array`) should move to `Array` and we should add...

Given the following failing example in failing_example.rb ``` ruby require 'wrong/adapters/rspec' describe "a block arg in a failing assertion" do it "raises a NameError :(" do assert { [].each {|v|}...

So I have this kinda crazy idea for integrating wrong with rspec: ``` ruby describe User do it "has the read-only role by default" do User.new.role == Role::READ_ONLY end end...

```clojure > (require '[matcher-combinators.standalone :refer [match?]]) nil > (match? {:a :b} {:a :b}) true > (match? keyword? (first (keys {:a :b}))) true > (match? keyword? (first (vals {:a :b}))) true...

bug

# Problem Within Nubank, we've standardized on `clojure.test` and deprecated the use of `midje`. Users who don't rely on midje support incur a transitive dependency on midje anyway. # Solution...

Add a matcher that matches a non-empty sequence of elements that match a supplied matcher, e.g. ```clojure (match? (seq-of {:name string? :id uuid?}) [{:name "Michael" :id #uuid "c70e35eb-9eb6-4e3d-b5da-1f7f80932db9"}]) ``` This...

;; TODO - file issue in matcher-combinators to improve :mismatch/detail for missing keys ```clojure (match {:a 1} {:b 2}) ;; produces {:match/result :mismatch, :mismatch/detail {:b 2, :a {:expected 1}}} ```...