<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
02:52 myronmarston joined
05:38 pawnbox joined
06:08 pawnbox_ joined
06:15 myronmarston joined
07:38 pawnbox joined
08:20 pawnbox joined
08:40 myronmarston joined
08:50 raphink_ joined
09:08 baweaver joined
09:14 zpe joined
09:46 pawnbox joined
09:47 pawnbox joined
09:48 pawnbox joined
10:12 pawnbox joined
10:56 pawnbox joined
11:07 tvw joined
12:07 pawnbox joined
12:10 pawnbox joined
12:32 tvw joined
12:47 raphink_ joined
13:05 pawnbox joined
13:10 raphink_ joined
13:17 pawnbox joined
13:19 pawnbox joined
13:22 pawnbox joined
14:10 pawnbox joined
14:14 pawnbox_ joined
14:31 pawnbox joined
14:55 tvw joined
15:00 pawnbox joined
15:01 myronmarston joined
15:14 pawnbox joined
15:16 pawnbox joined
15:25 myronmarston joined
16:20 zpe joined
16:58 tvw joined
17:07 myronmarston joined
20:16 pawnbox joined
20:54 raphink joined
20:54 raphink joined
20:56 pawnbox joined
21:13 mordof joined
21:15 <mordof> I'm trying to accomplish something like this: expect(MyData).to receive(:create!).with( hash_including({ foo: 'bar' }).and hash_excluding({ bar: 'bat' }) ) for compound matchers.. i guess is what i'm trying to figure out. but rspec is saying there's no .and on HashIncludingMatcher. is there a proper way to do this?
21:15 <mordof> so that i can call create! with a hash that has foo: 'bar', but not bar: 'bat'
21:21 <mordof> or maybe a .with().and_with situation
21:22 <mordof> i really feel like there should be something already available with rspec - so i don't have to stub it myself and examine the hash directly for this test
21:27 <mordof> another option would be to make a custom matcher.. which isn't as bad i guess
22:53 rBEL joined
22:55 pawnbox joined
23:08 rBEL left
23:08 rBEL joined
23:37 pawnbox joined